This commit is contained in:
Dobromir Popov
2024-05-22 17:47:05 +03:00

View File

@ -59,7 +59,7 @@ export default function DashboardPage({ initialItems, initialUserId, cartEvents,
const currentPath = router.pathname; const currentPath = router.pathname;
router.replace(currentPath, undefined, { shallow: true }); // Removes the query without affecting the history 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) => { const handleUserSelection = async (publisher) => {
if (!publisher || publisher.id === undefined) return; if (!publisher || publisher.id === undefined) return;