Skip to content

Commit 3487c2e

Browse files
author
Boopathi
committed
Update page component
1 parent 5826208 commit 3487c2e

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/app/page.tsx

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
1+
import { Suspense } from "react";
12
import MainView from "@/components/views/main-view";
23

4+
export const dynamic = "force-dynamic";
5+
36
export default function Home() {
4-
return <MainView />;
5-
}
7+
return (
8+
<Suspense fallback={<div>Loading...</div>}>
9+
<MainView />
10+
</Suspense>
11+
);
12+
}

0 commit comments

Comments
 (0)