Files
lcbp3/frontend/app/(auth)/layout.tsx
T
admin 3320b552ce
Build and Deploy / deploy (push) Failing after 1m23s
260320:1554 Refactor Overrall #08-2 Fix: pnpm frontend deploy
2026-03-20 15:54:49 +07:00

20 lines
561 B
TypeScript

// File: app/(auth)/layout.tsx
// Force dynamic rendering for all pages under (auth) route group.
// QNAP overlayfs cannot handle the .segments/!<base64> directories
// that Next.js 16 creates during static page generation.
export const dynamic = "force-dynamic";
export default function AuthLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className="flex min-h-screen w-full items-center justify-center bg-muted/40 p-4">
{/* Container หลักจัดกึ่งกลาง */}
{children}
</div>
);
}