mirror of
https://github.com/logos-messaging/OpChan.git
synced 2026-01-02 12:53:10 +00:00
fix: spam console.log
This commit is contained in:
parent
858c1bcc35
commit
a38723999a
@ -112,10 +112,6 @@ const Header = () => {
|
||||
}
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
console.log('currentUser', currentUser);
|
||||
}, [currentUser]);
|
||||
|
||||
const getStatusIcon = () => {
|
||||
if (!isConnected) return <CircleSlash className="w-4 h-4" />;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user