diff --git a/frontend/src/context/wallet-context.tsx b/frontend/src/context/wallet-context.tsx index 3538a7c9..43d9f4d9 100644 --- a/frontend/src/context/wallet-context.tsx +++ b/frontend/src/context/wallet-context.tsx @@ -142,7 +142,7 @@ function readStoredSession(): WalletSession | null { return null; } - const raw = window.localStorage.getItem(STORAGE_KEY); + const raw = window.localStorage.getItem(STORAGE_KEY)?.trim(); if (!raw) { return null; }