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

@@ -32,7 +32,7 @@ const Register = () => {
useEffect(() => {
if (jwt) {
navigate('/home');
navigate('/home/account');
}
console.log(submitClicked);
}, [jwt]);