Replies: 1 comment 1 reply
-
@Stono converted to discussion as this sounds more like a feature. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
Package Version
0.2.12
Current Behavior
Currently if my wallet is connected to a network and that network is down (for example; at the time of writing https://matic-mumbai.chainstacklabs.com is down), then the
connect
function does nothing.It appears to eventually time out, after a good 3-4 minutes:
Expected Behavior
It'd be nice to have the connect function timeout / reject after a configurable amount of time. Right now it just looks like my site is broken, so I'm keen to feed back to the user that the issue is with the network they've currently got selected in metamask.
Steps To Reproduce
Set your metamask wallet to a network that's done, any RPC address that times out will do.
Attempt to connect using an injected connector
Wait
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions