Skip to content

Commit 88bfccc

Browse files
committed
fix(web): wrap FeaturedReplays in Suspense (fix '/' prerender — uncached data outside Suspense)
1 parent d85be77 commit 88bfccc

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

apps/web/src/app/page.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ export default function HomePage() {
2323
cheatcode ready to build
2424
</h1>
2525
<HomeComposerFromSearchParams />
26-
<FeaturedReplays />
26+
<Suspense fallback={<div className="mt-6 h-32 w-full rounded-2xl bg-[#f7f7f7]" />}>
27+
<FeaturedReplays />
28+
</Suspense>
2729
</section>
2830
</main>
2931
</div>

0 commit comments

Comments
 (0)