From 1c24c90189ee5a449d789f8d89e8f41008380189 Mon Sep 17 00:00:00 2001 From: Sean O'Connor Date: Thu, 11 Jun 2026 12:01:19 -0400 Subject: [PATCH] fix: build errors --- next.config.js | 2 +- src/app/page.tsx | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/next.config.js b/next.config.js index 4c4ed62..42f7609 100644 --- a/next.config.js +++ b/next.config.js @@ -6,7 +6,7 @@ import "./src/env.js"; /** @type {import("next").NextConfig} */ const config = { - reactCompiler: false, + reactCompiler: true, serverExternalPackages: ["pg", "better-auth"], }; diff --git a/src/app/page.tsx b/src/app/page.tsx index 4972076..fc5b352 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,6 +6,8 @@ import { Button } from "~/components/ui/button"; import { env } from "~/env"; import { brand } from "~/lib/branding"; +export const dynamic = "force-dynamic"; + export default function HomePage() { const allowRegistration = env.DISABLE_SIGNUPS !== true;