-
Notifications
You must be signed in to change notification settings - Fork 1
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
Nabla page refresh required after currency swap #604
Nabla page refresh required after currency swap #604
Conversation
✅ Deploy Preview for rococo-souffle-a625f5 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@ebma @prayagd @TorstenStueber Ready for review |
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.
Works as expected, if i try new swap the button changes to Approve back again. Good to go from my end
@ebma Do you approve ✅? |
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.
Code looks good to me, nice job @Sharqiewicz 👍
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.
👍
🦈 🟢 PR
After swapping one currency to another on the platform, users must refresh the page to initiate another swap. If they attempt a second swap without refreshing, they encounter the following error: "Transaction failed."
Issue: Token Approval is not reset after successful swap.
Solution: Implement approval query invalidation after successful swap.