Skip to content

Commit

Permalink
changed to redirect to default (home) page.
Browse files Browse the repository at this point in the history
  • Loading branch information
flyindonut committed Sep 13, 2024
1 parent 85298a6 commit 34d4d75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion petclinic-frontend/src/pages/Login/Login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Login(): JSX.Element {
setUser(response.data);
//TODO: update to navigate to the home page
if (response.data.userId !== '') {
navigate(AppRoutePaths.Inventories);
navigate(AppRoutePaths.Default);
}
});
};
Expand Down

0 comments on commit 34d4d75

Please sign in to comment.