Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Manage pools formatting error #2363

Merged
merged 1 commit into from
Dec 7, 2024

Conversation

henry-arcu89
Copy link
Contributor

@henry-arcu89 henry-arcu89 commented Dec 7, 2024

In Dashboard when open pools and clic to Manage, this error occurs:

hook.js:608 TypeError: ((intermediate value)(intermediate value)(intermediate value) || "100%").slice is not a function at vpt (index-DX-H3mSL.js:7177:1080) at S0 (index-DX-H3mSL.js:2427:17990) at vS (index-DX-H3mSL.js:2429:45437) at pS (index-DX-H3mSL.js:2429:41047) at jk (index-DX-H3mSL.js:2429:40975) at wy (index-DX-H3mSL.js:2429:40826) at o3 (index-DX-H3mSL.js:2429:37070) at fS (index-DX-H3mSL.js:2429:37880) at Xd (index-DX-H3mSL.js:2427:3290) at index-DX-H3mSL.js:2429:35370

And appear a modal with this message: Oops, Something Went Wrong Click to reload

For prevent this error, I fix the line 41 in polkadot-staking-dashboard/packages/app/src/overlay/modals/ManagePool/Forms/ManageCommission/provider/index.tsx

Please hurry up and accept the Merge request, because I have put my pool in Destroying state, and if this error is not fixed, the rest of the members will not be able to leave the pool.

Regards,

@rossbulat rossbulat changed the title fix manage pools error fix: Manage pools formatting error Dec 7, 2024
@rossbulat rossbulat merged commit eedef20 into polkadot-cloud:main Dec 7, 2024
6 checks passed
@rossbulat rossbulat mentioned this pull request Dec 7, 2024
@rossbulat
Copy link
Collaborator

Also applied more fixes here: e16cf75

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

2 participants