You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If an error happens when the modal is opened, wagmi's loading state will revert to false and will stop tracking further events. Since the modal stays open, the user can select another provider and establish a connection, however, wagmi does not register this new connection.
Steps to reproduce:
Click connect
Select Google or any other provider that triggers a popup
Close the Google window that displays your list of accounts
Notice how wagmi's loading state is now set to false (most likely due to an error being thrown inside connect)
Select Google and connect with one of your Google accounts
The text was updated successfully, but these errors were encountered:
sumicet
changed the title
Wagmi fails to track wew connections following initial error in modal
Wagmi fails to track new connections following initial error in modal
Jul 14, 2023
If an error happens when the modal is opened,
wagmi
's loading state will revert to false and will stop tracking further events. Since the modal stays open, the user can select another provider and establish a connection, however,wagmi
does not register this new connection.Steps to reproduce:
connect
wagmi
's loading state is now set tofalse
(most likely due to an error being thrown insideconnect
)wagmi
'saddress
field is emptyhttps://codesandbox.io/p/github/sumicet/web3auth-bugs/infinite-loading-state?file=/src/App.tsx:7,1
Expected behavior: Either close the modal when an error happens or keep
wagmi
's state in sync with the modal's state.The text was updated successfully, but these errors were encountered: