Skip to content

Commit

Permalink
🎉 fix: change landing page after login
Browse files Browse the repository at this point in the history
  • Loading branch information
asifrahaman13 committed Aug 6, 2024
1 parent 5a87438 commit 6595c33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/app/components/LoginPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const LoginPage = () => {
if (response?.status === 200) {
if (response?.data.access_token != null) {
localStorage.setItem('access_token', response.data.access_token);
window.location.href = '/dashboard';
window.location.href = '/dashboard/visits';
}
}
} catch (err) {
Expand Down

0 comments on commit 6595c33

Please sign in to comment.