From 0d7e48bed07c279fed164b4741394847ef1d14be Mon Sep 17 00:00:00 2001 From: Jason Tudisco Date: Wed, 27 May 2026 22:17:36 -0600 Subject: [PATCH] =?UTF-8?q?fix(kez-chat/web):=20blank=20page=20after=20log?= =?UTF-8?q?in=20=E2=80=94=20redirect=20to=20/chats=20not=20/dashboard?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Unlock (passphrase + biometric) and CreateAccount still pushed to /dashboard, which the redesign removed from the routes map. svelte-spa- router matched nothing and rendered a blank page. Point them at /chats (the new home). Co-Authored-By: Claude Opus 4.7 --- kez-chat/web/src/routes/CreateAccount.svelte | 2 +- kez-chat/web/src/routes/Unlock.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/kez-chat/web/src/routes/CreateAccount.svelte b/kez-chat/web/src/routes/CreateAccount.svelte index 1f49072..818ace0 100644 --- a/kez-chat/web/src/routes/CreateAccount.svelte +++ b/kez-chat/web/src/routes/CreateAccount.svelte @@ -265,7 +265,7 @@

diff --git a/kez-chat/web/src/routes/Unlock.svelte b/kez-chat/web/src/routes/Unlock.svelte index 98b279d..ca77808 100644 --- a/kez-chat/web/src/routes/Unlock.svelte +++ b/kez-chat/web/src/routes/Unlock.svelte @@ -47,7 +47,7 @@ const id = await unlockIdentity(passphrase); session.setUnlocked(id); passphrase = ""; - push("/dashboard"); + push("/chats"); } catch (e) { error = (e as Error).message; } finally { @@ -62,7 +62,7 @@ const seed = await unlockWithBiometric(); const id = await unlockWithSeed(seed); session.setUnlocked(id); - push("/dashboard"); + push("/chats"); } catch (e) { error = (e as Error).message; // If biometric fails (user cancelled, sensor errored), fall back