Skip to content
Snippets Groups Projects
Verified Commit 324b89fc authored by Defendi Alberto's avatar Defendi Alberto
Browse files

Route for ProfilePage

parent 224ccbad
No related branches found
No related tags found
1 merge request!33Connect api calls and include test/docs cases
...@@ -55,7 +55,9 @@ export const SignInForm: FC = () => { ...@@ -55,7 +55,9 @@ export const SignInForm: FC = () => {
}, },
}, },
) )
.then(() => history.replace(AuthRoutes.dashboard)); .then(() => {
history.replace(AuthRoutes.dashboard);
});
}; };
const classes = useStyles(); const classes = useStyles();
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
*/ */
export enum AuthRoutes { export enum AuthRoutes {
dashboard = '/dashboard', dashboard = '/dashboard',
account = '/account', profile = '/profile',
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment