Skip to content

Commit

Permalink
fix: redirect path from /login to /sign-in (nextjs#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryneex authored Oct 19, 2024
1 parent 507e1d8 commit 0dc81b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/(dashboard)/dashboard/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export default async function SettingsPage() {
const user = await getUser();

if (!user) {
redirect('/login');
redirect('/sign-in');
}

const teamData = await getTeamForUser(user.id);
Expand Down

0 comments on commit 0dc81b7

Please sign in to comment.