Force dynamic rendering for all dashboard pages

Dashboard pages require authentication and include client components
with hooks that fail during static prerendering on Linux/Docker.
Setting force-dynamic in the layout prevents build-time prerendering
across the entire authenticated dashboard.

https://claude.ai/code/session_014126WHVRT8mftmqkU6dajG
This commit is contained in:
Claude
2026-06-11 06:18:00 +00:00
parent a3d8120059
commit b10cf5dd2e
+2
View File
@@ -1,5 +1,7 @@
import { DashboardShell } from "~/components/layout/dashboard-shell";
export const dynamic = "force-dynamic";
export default function DashboardLayout({
children,
}: {