mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-16 09:36:17 +08:00
fix(admin): handle error login status (#7646)
Fix unhandled error login status, modify style https://github.com/user-attachments/assets/0b40807d-e17a-4d23-a168-4894adfa5998
This commit is contained in:
@@ -43,6 +43,7 @@ export function UserDropdown() {
|
||||
method: 'POST',
|
||||
})
|
||||
.then(() => {
|
||||
toast.success('Logged out successfully');
|
||||
navigate('/admin/auth');
|
||||
})
|
||||
.catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user