diff --git a/src/components/AuthUser/SignInForm/SignInForm.tsx b/src/components/AuthUser/SignInForm/SignInForm.tsx index c88e37be9c9e11ced9bcb95c63402203901a3646..765d9a5861f2817901109632808342ae51907092 100644 --- a/src/components/AuthUser/SignInForm/SignInForm.tsx +++ b/src/components/AuthUser/SignInForm/SignInForm.tsx @@ -55,7 +55,9 @@ export const SignInForm: FC = () => { }, }, ) - .then(() => history.replace(AuthRoutes.dashboard)); + .then(() => { + history.replace(AuthRoutes.dashboard); + }); }; const classes = useStyles(); diff --git a/src/components/api/routes.ts b/src/components/api/routes.ts index e06d35ea5775c78bec55c98ca22574e477730659..70860945c86eb10f079548318fe4523420ab3d21 100644 --- a/src/components/api/routes.ts +++ b/src/components/api/routes.ts @@ -5,7 +5,7 @@ */ export enum AuthRoutes { dashboard = '/dashboard', - account = '/account', + profile = '/profile', } /**