Comments (4)
Hi @sohkai Turned out the issue was how I was calling the activate function in the component, so I can catch the error now.
I did notice that when I run deactivate0
this doesn't clear WalletConnect
's local storage data
from use-wallet.
@sohkai Is this a WalletConnect rejection issue specifically or is it the handling from useWallet
's end?
from use-wallet.
I'm not able to catch this error, I have attempted the following using try ... catch
's:
- Wrapping the app in a class component which uses
componentDidCatch
- Wrapping the code of the component calling
useWallet
- Wrapping the call
wallet.activate
function in a try catch
from use-wallet.
Hey @RyRy79261, did you end up finding out how to catch the error? We're not too familiar with WalletConnect's inner workings and we aren't able to dig further into this at the moment!
from use-wallet.
Related Issues (20)
- [security] Possible issue HOT 1
- Support Frameworks Other Than React HOT 1
- Unexpected character - dist/esm/Cipher.png HOT 1
- Next.js - SyntaxError: Invalid or unexpected token HOT 8
- Hardhat - Uncaught ChainUnknownError: Unknown chain id: 31337
- wallet.chainId defaulting to 1
- support chain do not in the chains list HOT 3
- autoConnect property has bugs!
- useWallet() sometimes return null account value in it's object HOT 1
- Files changed
- explorerUrl inconsistencies
- New use-wallet supporter HOT 8
- Doesn't support React18?
- Throwing error `ChainUnknownError` makes the app crashes
- Add Sepolia as a supported testnet for Ethereum HOT 2
- How does walletconnect use V2 HOT 3
- Unknown chain id: 8453 HOT 1
- ConnectorWalletConnectV2.ts WalletConnect is not a constructor
- When using walletconnectV2, an error is reported HOT 4
- Add Amoy as a supported testnet for Polygon HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from use-wallet.