Move back cookie fetch to SignInForm. Role fetched and saved into a Context. Small refactorings.
Compare changes
- Defendi Alberto authored
@@ -21,6 +22,7 @@ export const PrivateRoute = ({
@@ -32,8 +34,7 @@ export const PrivateRoute = ({