fix: spam console.log

This commit is contained in:
Danish Arora 2025-10-23 13:49:21 +05:30
parent 858c1bcc35
commit a38723999a
No known key found for this signature in database
GPG Key ID: 1C6EF37CDAE1426E
2 changed files with 1 additions and 5 deletions

View File

@ -112,10 +112,6 @@ const Header = () => {
}
};
useEffect(() => {
console.log('currentUser', currentUser);
}, [currentUser]);
const getStatusIcon = () => {
if (!isConnected) return <CircleSlash className="w-4 h-4" />;

View File

@ -80,7 +80,7 @@ export function useAuth() {
};
syncWallet();
}, [wallet.isConnected, wallet.address, wallet.walletType, client, currentUser]);
}, [wallet.isConnected, wallet.address, wallet.walletType, client]);
const connect = React.useCallback((walletType: 'bitcoin' | 'ethereum'): void => {
wallet.connect(walletType);