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);