account and protected router

This commit is contained in:
Виталий Лавшонок
2025-11-05 00:08:51 +03:00
parent 994954c817
commit aeab03d35c
14 changed files with 173 additions and 85 deletions

View File

@@ -30,7 +30,7 @@ const Login = () => {
useEffect(() => {
if (jwt) {
navigate('/home/offices'); // или другая страница после входа
navigate('/home/account'); // или другая страница после входа
}
}, [jwt]);