disable static rendering at root (#18)

This commit is contained in:
Doh
2025-01-03 22:36:50 -05:00
committed by GitHub
parent a4af30bd23
commit 306242f2ec
3 changed files with 9 additions and 1 deletions

View File

@@ -25,6 +25,8 @@ export const metadata = {
description: 'Track your habits and get rewarded',
}
export const dynamic = 'force-dynamic' // needed to prevent nextjs from caching the loadSettings function in Layout component
export default async function RootLayout({
children,
}: {