Skip to content

Commit 0d7e401

Browse files
authored
Fix: <brief description of the issue> (#253)
1 parent 5a872b6 commit 0d7e401

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

components/wallet/WalletConnectButton.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ const WalletConnectButton: React.FC<WalletConnectButtonProps> = ({
7777
const { currentNetwork, switchToNetwork } = useNetworkSwitcher();
7878
const walletInfo = useWalletInfo();
7979

80-
// Auto-reconnect on page load
80+
8181
useAutoReconnect();
8282

83-
// Handle errors with toast and show error guide
83+
8484
React.useEffect(() => {
8585
if (error) {
8686
toast.error(error, {
@@ -183,7 +183,7 @@ const WalletConnectButton: React.FC<WalletConnectButtonProps> = ({
183183
</DropdownMenuLabel>
184184
<DropdownMenuSeparator />
185185

186-
{/* Wallet Info - Compact */}
186+
187187
<DropdownMenuItem
188188
className='flex items-center gap-2 p-3 bg-card hover:bg-accent text-card-foreground hover:text-accent-foreground cursor-pointer'
189189
onSelect={e => e.preventDefault()}
@@ -215,7 +215,7 @@ const WalletConnectButton: React.FC<WalletConnectButtonProps> = ({
215215

216216
<DropdownMenuSeparator />
217217

218-
{/* Quick Actions */}
218+
219219
<div className='grid grid-cols-1 gap-1 p-2'>
220220
<DropdownMenuItem
221221
onClick={handleSwitchWallet}
@@ -228,7 +228,7 @@ const WalletConnectButton: React.FC<WalletConnectButtonProps> = ({
228228

229229
<DropdownMenuSeparator />
230230

231-
{/* Network Switching - Compact */}
231+
232232
<div className='p-2'>
233233
<div className='text-xs font-medium mb-2 px-2 text-card-foreground'>
234234
Network
@@ -268,7 +268,7 @@ const WalletConnectButton: React.FC<WalletConnectButtonProps> = ({
268268

269269
<DropdownMenuSeparator />
270270

271-
{/* External Link */}
271+
272272
<DropdownMenuItem
273273
asChild
274274
className='bg-card hover:bg-accent text-card-foreground hover:text-accent-foreground text-xs'
@@ -289,7 +289,7 @@ const WalletConnectButton: React.FC<WalletConnectButtonProps> = ({
289289

290290
<DropdownMenuSeparator />
291291

292-
{/* Disconnect */}
292+
293293
<DropdownMenuItem
294294
onClick={handleDisconnect}
295295
className='text-destructive hover:text-destructive bg-card hover:bg-accent text-xs'

0 commit comments

Comments
 (0)