starknet-react
starknet-react copied to clipboard
`autoconnect` reconnects to the wrong wallet after refresh when connecting to multiple wallets
I tried connecting to Argent X, then disconnect from it and then connect to Braavos. After I hit refresh, I was connected to my Argent X wallet, while I was expecting to be connected to my Braavos wallet
This is because the library is stateless, so it cannot track the last connected wallet.
We should add an option to use local storage to track of this.
Ok I see ! I can work on it if needed 👍🏽 You can give me some pointers on how you want it to be implemented if you want 😄
Fixed in #186