diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b212975..fde3e87 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -11,6 +11,9 @@ import "@/styles/bundle.css"; import "@/styles/shop.css"; import { getSettings } from "@/lib/settings"; +// Settings come from the database, so nothing here can be prerendered at build time. +export const dynamic = "force-dynamic"; + export async function generateMetadata(): Promise { const s = await getSettings(); return {