Skip to content
Snippets Groups Projects

Fix/authorization

Merged Defendi Alberto requested to merge fix/authorization into dev
3 files
+ 19
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -12,7 +12,7 @@ import { AuthRoutes } from 'api/routes';
@@ -12,7 +12,7 @@ import { AuthRoutes } from 'api/routes';
*/
*/
export const ChoseRole: FC = () => {
export const ChoseRole: FC = () => {
const history = useHistory();
const history = useHistory();
const [userRoles, setUserRoles] = useState<string[]>(['hello', 'world']);
const [userRoles, setUserRoles] = useState<string[]>(['']);
const choseAndForward = (role: string): void => {
const choseAndForward = (role: string): void => {
// Set role in the server.
// Set role in the server.
Loading