This commit is contained in:
Andras Bacsai 2021-06-22 12:19:12 +02:00
parent 425feba0e2
commit a8e9668c2b

View File

@ -27,7 +27,8 @@
const timer = setInterval(() => { const timer = setInterval(() => {
if (newWindow?.closed) { if (newWindow?.closed) {
clearInterval(timer); clearInterval(timer);
browser && location.reload(); // WHY need to navigate to / to get cookies?!
browser && window.location.replace('/')
} }
}, 100); }, 100);
} }