completionId: cgen-aa0e68c9c9524b998453aebe52232dd2
cgen-aa0e68c9c9524b998453aebe52232dd2
This commit is contained in:
parent
39eba6e831
commit
f2b955fd04
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ export default function Staff() {
|
|||
|
||||
useEffect(() => {
|
||||
if (!loading && user) {
|
||||
navigate("/staff/dashboard", { replace: true });
|
||||
navigate("/admin", { replace: true });
|
||||
}
|
||||
}, [user, loading, navigate]);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue