mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-18 17:09:47 -05:00
feat: update constant writes
This commit is contained in:
@@ -157,19 +157,6 @@ export function WalletTab() {
|
||||
} = useSwitchChain();
|
||||
|
||||
// --- Effects ---
|
||||
/**
|
||||
* Debug logging for wallet auto-connection and state changes.
|
||||
* Logs context, connection status, address, and available connectors.
|
||||
*/
|
||||
useEffect(() => {
|
||||
console.log("WalletTab Debug Info:");
|
||||
console.log("- context:", context);
|
||||
console.log("- isConnected:", isConnected);
|
||||
console.log("- address:", address);
|
||||
console.log("- connectors:", connectors);
|
||||
console.log("- context?.user:", context?.user);
|
||||
}, [context, isConnected, address, connectors]);
|
||||
|
||||
/**
|
||||
* Auto-connect when Farcaster context is available.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user