refactor: use window.location.href for redirects

This commit is contained in:
Stavros
2025-01-28 19:08:00 +02:00
parent 3efcb26db1
commit e2e3b3bdc6
4 changed files with 70 additions and 27 deletions

View File

@@ -32,7 +32,7 @@ export const LogoutPage = () => {
color: "green",
});
setTimeout(() => {
window.location.reload();
window.location.replace("/login");
}, 500);
},
});