-
Notifications
You must be signed in to change notification settings - Fork 308
[xc-admin] improve approve/reject UX #608
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
guibescos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's a bug where if you click in a proposal and then back to proposals. The proposal disappears.
can you try again? |
| const proposals = prevProposals.filter( | ||
| (proposal) => | ||
| proposal.publicKey.toBase58() !== | ||
| const index = prevProposals.findIndex( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nitpick : can you use currentProposalIndex for this? This seems inefficient
guibescos
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working now!
No description provided.