guardian routes

This commit is contained in:
Mikola
2024-03-15 18:18:10 +03:00
parent 727d55798a
commit f2ad6b43bd
13 changed files with 267 additions and 165 deletions

View File

@ -70,6 +70,7 @@ export const AuthBox = ({ title }) => {
dispatch(setUserInfo(res));
dispatch(loading(false));
dispatch(setRole("ROLE_PARTNER"));
navigate("/profile");
}
});
}