From 3822ad0dcee9dff42d213db59851a0aad34a55b2 Mon Sep 17 00:00:00 2001 From: Nikolai Petukhov Date: Tue, 22 Oct 2024 19:25:49 +0300 Subject: [PATCH] fixed exit button --- src/pages/Account.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Account.jsx b/src/pages/Account.jsx index 9133a9e..919c832 100644 --- a/src/pages/Account.jsx +++ b/src/pages/Account.jsx @@ -13,7 +13,7 @@ const Account = () => { localStorage.removeItem("token"); localStorage.setItem("message", "Exited successfully!"); - window.location.href = "/"; + window.location.href = URLs.baseUrl; } const [nickname, setNickname] = useState("");