Skip to content
This repository was archived by the owner on Feb 28, 2025. It is now read-only.

Conversation

@QuintonC
Copy link
Collaborator

@QuintonC QuintonC commented Jun 5, 2023

⚠️ Fixes: #198

ℹ️ What is the context for these changes?

Fixes a bug where after connecting, the modal state is not reset to the clean state meaning that any subsequent attempts (within the same page load) to reconnect would show the connecting state in the modal.

🕹️ Demonstration

Before

Screen.Recording.2023-06-05.at.6.41.41.PM.mov

After

Screen.Recording.2023-06-05.at.6.37.42.PM.mov

🎩 How can this be tophatted?

  1. Pull the branch and run the playground (yarn dev)
  2. Connect your wallet
  3. Disconnect your wallet
  4. Try reconnecting

✅ Checklist

  • Tested on mobile N/A
  • Tested on multiple browsers N/A
  • Tested for accessibility N/A
  • Includes unit tests
  • Updated relevant documentation for the changes (if necessary) N/A

@QuintonC QuintonC force-pushed the bugfix/cleanup-modal-state-on-connect branch from ac649f9 to 74ec3db Compare June 6, 2023 14:33
Copy link
Member

@Soleone Soleone left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tophatted and confirmed that before this update the connector gets stuck and after this update the issue is properly fixed.

Code looks good!

@QuintonC QuintonC merged commit 21287f7 into main Jun 6, 2023
@QuintonC QuintonC deleted the bugfix/cleanup-modal-state-on-connect branch June 6, 2023 17:39
@github-actions github-actions bot mentioned this pull request Jun 6, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: Modal state not cleaned after connect event

2 participants