fixed exit button
This commit is contained in:
parent
2829c11e4c
commit
3822ad0dce
@ -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("");
|
||||||
|
Loading…
Reference in New Issue
Block a user