Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
cpcramer committed Feb 8, 2025
1 parent 56876c6 commit 2a38033
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/wallet/components/ConnectWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -138,10 +138,10 @@ export function ConnectWallet({
}, [status, hasClickedConnect, onConnect]);

useEffect(() => {
if (status === 'connected' && accountAddress) {
if (status === 'connected' && accountAddress && connector) {
handleAnalyticsSuccess(connector.name, accountAddress);
}
}, [status, accountAddress, connector.name, handleAnalyticsSuccess]);
}, [status, accountAddress, connector, handleAnalyticsSuccess]);

if (status === 'disconnected') {
if (config?.wallet?.display === 'modal') {
Expand Down

0 comments on commit 2a38033

Please sign in to comment.