We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e179079 commit 2697664Copy full SHA for 2697664
1 file changed
src/app/(home)/page.tsx
@@ -1,16 +1,5 @@
1
-import Link from 'next/link';
+import { redirect } from 'next/navigation';
2
3
export default function HomePage() {
4
- return (
5
- <div className="flex flex-col justify-center text-center flex-1">
6
- <h1 className="text-2xl font-bold mb-4">Hello World</h1>
7
- <p>
8
- You can open{' '}
9
- <Link href="/docs" className="font-medium underline">
10
- /docs
11
- </Link>{' '}
12
- and see the documentation.
13
- </p>
14
- </div>
15
- );
+ redirect('/docs');
16
}
0 commit comments