Skip to content

Commit 236e2e1

Browse files
fix: add dashboard index page redirect to prevent 404 on refresh
1 parent 27681cf commit 236e2e1

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/app/dashboard/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { redirect } from "next/navigation";
2+
3+
export default function DashboardPage() {
4+
redirect("/dashboard/exams");
5+
}

0 commit comments

Comments
 (0)