Skip to content

Commit

Permalink
Merge pull request #59 from ChainSafe/irubido/fixUseMetamaskBug
Browse files Browse the repository at this point in the history
fix: useMetamask dependency loop bug
  • Loading branch information
Lykhoyda authored Feb 3, 2025
2 parents d6f552c + 953f42a commit 76ca8f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/web-wallet/src/hooks/snaps/useMetaMask.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const useMetaMask = () => {
};

detect().catch(console.error);
}, [detectFlask, getSnap, provider]);
}, [provider]);

return { isFlask, snapsDetected, installedSnap, getSnap };
};

1 comment on commit 76ca8f4

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.