-
Notifications
You must be signed in to change notification settings - Fork 573
Open
Description
Bug description
When visiting the /wc
route (WalletConnect), the useLastSafe
hook doesn't return anything resulting as redirection to the /welcome
page instead of particular Safe.
It doesn't return anything because it's not listed as persistent so it's not stored in browser's local storage.
TLDR lastSafe
is always falsy in this particular case.
Environment
- Browser: Chrome
- Wallet: MetaMask
- Chain: Ethereum mainnet
Steps to reproduce
- Try to connect Safe Wallet via WalletConnect
- Notice you are redirected to
/welcome
page instead of/home?safe=...
Expected result
The last used Safe is read from local storage and uses is automatically redirected to the particular Safe.
Obtained result
Every time user has to select the Safe manually. The feature of useLastSafe
hook doesn't work on /wc
route.
Metadata
Metadata
Assignees
Labels
No labels