fix: frontend routes
This commit is contained in:
@@ -108,8 +108,7 @@ export function Topbar({
|
||||
className="text-button"
|
||||
type="button"
|
||||
onClick={() => {
|
||||
onLogout();
|
||||
window.location.assign("/login");
|
||||
void onLogout();
|
||||
}}
|
||||
>
|
||||
登出
|
||||
|
||||
Reference in New Issue
Block a user