account and protected router
This commit is contained in:
@@ -30,7 +30,7 @@ const Login = () => {
|
||||
|
||||
useEffect(() => {
|
||||
if (jwt) {
|
||||
navigate('/home/offices'); // или другая страница после входа
|
||||
navigate('/home/account'); // или другая страница после входа
|
||||
}
|
||||
}, [jwt]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user