From 3acc52af43148b7743fcd00361bcb8d050207651 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 30 Aug 2026 21:37:07 -0700 Subject: The username claim field forgets its draft when a wallet opens: a name typed before logout used to greet whichever account opened next on the device (the field lives in global UI state and nothing ever reset it) Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01MrkLsNScXe9b6BviUSdmMr --- src/features/names.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/features') diff --git a/src/features/names.js b/src/features/names.js index f794790..a360598 100644 --- a/src/features/names.js +++ b/src/features/names.js @@ -734,7 +734,13 @@ export function namesFeature(ctx) { return { id: 'names', - init() { checked = false; lastError = null; refresh(); }, + init() { + checked = false; lastError = null; + // The claim field is a draft for THIS account — a name typed before a + // logout used to greet the next account that opened on this device. + ui.nameClaim = null; ui.nameClaimError = null; suggestedFor = null; + refresh(); + }, // The pencil by the address opens this: choosing a name gets a page of // its own — no balances, no tabs, just the name. screenView() { -- cgit v1.2.3