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