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("");