Move back cookie fetch to SignInForm. Role fetched and saved into a Context. Small refactorings.
Compare changes
- Defendi Alberto authored
@@ -40,6 +42,7 @@ export const SignInForm: FC = () => {
@@ -40,6 +42,7 @@ export const SignInForm: FC = () => {
@@ -50,6 +53,8 @@ export const SignInForm: FC = () => {
@@ -50,6 +53,8 @@ export const SignInForm: FC = () => {