chore: add auth status api

This commit is contained in:
Steven
2023-12-10 15:17:00 +08:00
parent 9ac6188707
commit e7d2bd0be6
22 changed files with 515 additions and 218 deletions

View File

@ -23,7 +23,6 @@ const Header: React.FC = () => {
const handleSignOutButtonClick = async () => {
await authServiceClient.signOut({});
localStorage.removeItem("userId");
window.location.href = "/auth";
};