mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-21 06:34:30 +01:00
disable static rendering at root (#18)
This commit is contained in:
@@ -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,
|
||||
}: {
|
||||
|
||||
Reference in New Issue
Block a user