diff --git a/pages/dash.tsx b/pages/dash.tsx index b9e8e6e..9802a3f 100644 --- a/pages/dash.tsx +++ b/pages/dash.tsx @@ -59,7 +59,7 @@ export default function DashboardPage({ initialItems, initialUserId, cartEvents, const currentPath = router.pathname; router.replace(currentPath, undefined, { shallow: true }); // Removes the query without affecting the history } - }, [newLogin]); + }, []);// show the message every time we load the page const handleUserSelection = async (publisher) => { if (!publisher || publisher.id === undefined) return;