fixed exit button

This commit is contained in:
Nikolai Petukhov 2024-10-22 19:25:49 +03:00
parent 2829c11e4c
commit 3822ad0dce

View File

@ -13,7 +13,7 @@ const Account = () => {
localStorage.removeItem("token"); localStorage.removeItem("token");
localStorage.setItem("message", "Exited successfully!"); localStorage.setItem("message", "Exited successfully!");
window.location.href = "/"; window.location.href = URLs.baseUrl;
} }
const [nickname, setNickname] = useState(""); const [nickname, setNickname] = useState("");