This commit is contained in:
Dobromir Popov
2024-05-22 17:54:14 +03:00
parent 95a35ba164
commit 5835730e3e

View File

@ -54,7 +54,8 @@ export default function DashboardPage({ initialItems, initialUserId, cartEvents,
//const [notificationsVisible, setNotificationsVisible] = useState(false); //const [notificationsVisible, setNotificationsVisible] = useState(false);
useEffect(() => { useEffect(() => {
if (newLogin === 'true') { // if (newLogin === 'true')
{
alert("Мили братя, искаме само да ви напомним да ни изпратите вашите предпочитания за юни до 25-то число като използвате меню 'Възможности'. Ако имате проблем, моля пишете ни на 'specialnosvidetelstvanesofia@gmail.com'"); alert("Мили братя, искаме само да ви напомним да ни изпратите вашите предпочитания за юни до 25-то число като използвате меню 'Възможности'. Ако имате проблем, моля пишете ни на 'specialnosvidetelstvanesofia@gmail.com'");
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