feat: update staff API schema and refactor admin login paths

This commit is contained in:
Ardeman
2025-03-03 17:33:52 +08:00
parent 459e25c010
commit 599a92fba3
3 changed files with 3 additions and 9 deletions
-3
View File
@@ -33,9 +33,6 @@ export const AdminLoginPage = () => {
setDisabled(false)
return
}
setDisabled(true)
setError(undefined)
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [fetcher])