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: fix wallet button state in swap details page #467

Merged

Conversation

Ikari-Shinji-re
Copy link
Member

Summary

On Swap page, when we are showing the button for connecting the required wallet, if you click on connect wallet twice (when the wallet is on connecting state), it will crash.
We should disable the button, when we are connecting the wallet.

Fixes # (issue)

pass wallet-core state to wallet button

How did you test this change?

On Swap page, when we are showing the button for connecting the required wallet, if you click on connect wallet twice (when the wallet is on connecting state), It should not prompt any errors.

@RanGojo RanGojo requested review from yeager-eren and RanGojo and removed request for yeager-eren December 18, 2023 07:35
@Ikari-Shinji-re Ikari-Shinji-re force-pushed the fix/fix-connect-wallet-button-state-in-swap-details-page branch from d9659f6 to 8159216 Compare December 18, 2023 10:13
@RanGojo RanGojo merged commit ad57603 into next Dec 18, 2023
1 check passed
@RanGojo RanGojo deleted the fix/fix-connect-wallet-button-state-in-swap-details-page branch December 18, 2023 10:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants