From 54879f3ab5cbe4d4e10abd66a170ce431a260cb3 Mon Sep 17 00:00:00 2001 From: Christopher Mayor Date: Tue, 28 Apr 2026 08:39:13 -0700 Subject: [PATCH] fix: force-dynamic on explore page to prevent static prerender crash with useSearchParams --- src/app/(main)/explore/layout.tsx | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/app/(main)/explore/layout.tsx diff --git a/src/app/(main)/explore/layout.tsx b/src/app/(main)/explore/layout.tsx new file mode 100644 index 0000000..f54fda8 --- /dev/null +++ b/src/app/(main)/explore/layout.tsx @@ -0,0 +1,9 @@ +export const dynamic = "force-dynamic"; + +export default function ExploreLayout({ + children, +}: { + children: React.ReactNode; +}) { + return children; +}