Skip to content

Commit

Permalink
Do not create to WalletConnect instances
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Feb 23, 2024
1 parent 571291c commit 8047179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/src/accounts/providers/accounts/useWallets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export const useWallets = (): UseWallets => {

const genesisHash = firstValueFrom(genesisHash$)
return new WalletConnect(wcProjectId, genesisHash, WalletDisconnection$, () => setWallet(undefined))
}, [api?.isConnected])
}, [])

const allWallets = useMemo(
() => [
Expand Down

0 comments on commit 8047179

Please sign in to comment.