From 1c28e0e993a9f9131cb3e3063fc64ac076f0ee51 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Wed, 1 Apr 2026 11:46:05 +0100 Subject: [PATCH] [#698] Show wallet address instead of username in nav connected state Always display truncated wallet address (0x4d68...b6c8) in both desktop and mobile nav, even when Farcaster profile is available. PFP still shows from profile. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/ConnectWallet.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/components/ConnectWallet.tsx b/src/components/ConnectWallet.tsx index 55a47235..431079fa 100644 --- a/src/components/ConnectWallet.tsx +++ b/src/components/ConnectWallet.tsx @@ -65,9 +65,7 @@ export function ConnectWallet({ onNavigate, compact }: ConnectWalletProps = {}) className="rounded-full" /> )} - {profile - ? `@${profile.username.length > 10 ? profile.username.slice(0, 10) + "…" : profile.username}` - : displayAddr} + {displayAddr} ); } @@ -89,7 +87,7 @@ export function ConnectWallet({ onNavigate, compact }: ConnectWalletProps = {}) className="rounded-full" /> )} - {profile ? `@${profile.username}` : displayAddr} + {displayAddr} ); }