Skip to content

Commit bbbfdcd

Browse files
committed
Add redirect functionality to dashboard page
1 parent 7bf40e4 commit bbbfdcd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

frontend/src/app/page.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1+
import { redirect } from "next/navigation";
2+
13
export default function Home() {
4+
return redirect("/dashboard");
25
return (
36
<main className="flex items-center justify-center w-full h-full min-h-screen">
47
<div>

0 commit comments

Comments
 (0)