Skip to content
This repository has been archived by the owner on Sep 7, 2023. It is now read-only.

Commit

Permalink
fix: remove wallet from useEffect dependencies for session hook
Browse files Browse the repository at this point in the history
  • Loading branch information
vjgpt committed Aug 3, 2023
1 parent d8908cc commit 0496faf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export function useSessionKeyManager(wallet: AnchorWallet, connection: Connectio
.catch(() => {
resetSessionData();
});
}, [wallet, wallet?.publicKey, cluster]);
}, [wallet?.publicKey, cluster]);

const deleteSessionData = async () => {
try {
Expand Down

0 comments on commit 0496faf

Please sign in to comment.