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:
@@ -1,5 +1,7 @@
|
||||
import { DashboardShell } from "~/components/layout/dashboard-shell";
|
||||
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export default function DashboardLayout({
|
||||
children,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user