Big progress!
This commit is contained in:
@@ -49,9 +49,8 @@ export function SignInComponent({
|
||||
const [form] = Form.useForm();
|
||||
|
||||
useEffect(() => {
|
||||
console.log('navigating to ' + redirect || "/manage");
|
||||
if (currentUser.authorized === true) {
|
||||
navigate(redirect || "/manage");
|
||||
navigate(redirect || "/manage/");
|
||||
}
|
||||
}, [currentUser, redirect, navigate]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user