From b10cf5dd2e0430b6ac7b03178ad1da5bfb6fa643 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 11 Jun 2026 06:18:00 +0000 Subject: [PATCH] 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 --- src/app/dashboard/layout.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/dashboard/layout.tsx b/src/app/dashboard/layout.tsx index 0356e6e..add294f 100644 --- a/src/app/dashboard/layout.tsx +++ b/src/app/dashboard/layout.tsx @@ -1,5 +1,7 @@ import { DashboardShell } from "~/components/layout/dashboard-shell"; +export const dynamic = "force-dynamic"; + export default function DashboardLayout({ children, }: {