show the message always

This commit is contained in:
Dobromir Popov
2024-05-22 17:45:52 +03:00
parent 9921e7ab62
commit 208b7e43ef

View File

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