Describe the bug
点击议会的motion或在财政菜单下点击投票后,报错
未捕获的错误。此组件的查询和呈现出现问题。(0 , g.useAvailableSlashes) is not a function
To Reproduce
点击议会-》motion
或点击财政-》投票
均可以重现
Log
react.01.0a62bc7b.js:42 TypeError: (0 , g.useAvailableSlashes) is not a function
at s (main.2ae59c1f.js:386)
at Ga (react.01.0a62bc7b.js:42)
at ji (react.01.0a62bc7b.js:42)
at Ni (react.01.0a62bc7b.js:42)
at Ii (react.01.0a62bc7b.js:42)
at ml (react.01.0a62bc7b.js:42)
at us (react.01.0a62bc7b.js:42)
at ls (react.01.0a62bc7b.js:42)
at Jl (react.01.0a62bc7b.js:42)
at react.01.0a62bc7b.js:42
Screenshots
Account Info
Node: FEILUN
ChainX Wallet Address(Main Chain): 5U2Cty9khm9aW762o14GUHHBcLU1PbqRuRomW33EbQpUAHxS
Describe the bug 点击议会的motion或在财政菜单下点击投票后,报错 未捕获的错误。此组件的查询和呈现出现问题。(0 , g.useAvailableSlashes) is not a function
To Reproduce 点击议会-》motion 或点击财政-》投票 均可以重现
Log react.01.0a62bc7b.js:42 TypeError: (0 , g.useAvailableSlashes) is not a function at s (main.2ae59c1f.js:386) at Ga (react.01.0a62bc7b.js:42) at ji (react.01.0a62bc7b.js:42) at Ni (react.01.0a62bc7b.js:42) at Ii (react.01.0a62bc7b.js:42) at ml (react.01.0a62bc7b.js:42) at us (react.01.0a62bc7b.js:42) at ls (react.01.0a62bc7b.js:42) at Jl (react.01.0a62bc7b.js:42) at react.01.0a62bc7b.js:42
Screenshots![屏幕快照 2020-11-16 下午12 21 02](https://user-images.githubusercontent.com/49551621/99212540-3cce4d00-2806-11eb-9ab5-88a6cc3757e0.png)
Account Info Node: FEILUN ChainX Wallet Address(Main Chain): 5U2Cty9khm9aW762o14GUHHBcLU1PbqRuRomW33EbQpUAHxS