From 707d4959ec35f3abb29ec0ebf96ae76476c07c34 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Tue, 30 Sep 2025 21:06:56 +0000 Subject: [PATCH] Narrow query cleanup effect dependency cgen-c103048d037745d9b801200022ee241e --- client/pages/Dashboard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/pages/Dashboard.tsx b/client/pages/Dashboard.tsx index 825bfe04..c6721c78 100644 --- a/client/pages/Dashboard.tsx +++ b/client/pages/Dashboard.tsx @@ -142,7 +142,7 @@ export default function Dashboard() { const nextUrl = `${currentUrl.pathname}${nextSearch ? `?${nextSearch}` : ""}${currentUrl.hash}`; window.history.replaceState(null, "", nextUrl); } - }, [user]); + }, [user?.id]); const handleTabChange = (value: string) => { setActiveTab(value);