From 74a1db83925d2f499276acdb706bcfeb15d8aae6 Mon Sep 17 00:00:00 2001 From: hobokenchicken Date: Thu, 2 Jul 2026 08:49:47 -0400 Subject: [PATCH] fix: nav buttons now navigate, not just toggle store state The [S] button only called setDM(false) without navigating away from /chat area. Since the notes-to-self feature now calls navigate('/dm/:id'), the URL stayed at /dm/... and ChatArea never re-mounted. [S] now navigates to /, [@] navigates to /dm. --- web/src/components/Layout.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/src/components/Layout.tsx b/web/src/components/Layout.tsx index c9b3bca..5dd0d25 100644 --- a/web/src/components/Layout.tsx +++ b/web/src/components/Layout.tsx @@ -120,7 +120,7 @@ export function Layout() {