diff --git a/src/state/connectedWalletStarknetkitNext.ts b/src/state/connectedWalletStarknetkitNext.ts index 6161101..7486140 100644 --- a/src/state/connectedWalletStarknetkitNext.ts +++ b/src/state/connectedWalletStarknetkitNext.ts @@ -53,5 +53,5 @@ export const useWalletAccountChange = () => { wallet?.off("accountsChanged", accountChangeHandler) wallet?.off("networkChanged", networkChangeHandler) return - }, [accountChangeHandler, networkChangeHandler]) + }, [wallet, accountChangeHandler, networkChangeHandler]) }