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

@@ -1,5 +1,11 @@
# Changelog # Changelog
## Version 0.1.7
### Fixed
- fixed settings unable to change
## Version 0.1.6 ## Version 0.1.6
### Added ### Added

View File

@@ -25,6 +25,8 @@ export const metadata = {
description: 'Track your habits and get rewarded', 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({ export default async function RootLayout({
children, children,
}: { }: {

View File

@@ -1,6 +1,6 @@
{ {
"name": "habittrove", "name": "habittrove",
"version": "0.1.6", "version": "0.1.7",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev --turbopack", "dev": "next dev --turbopack",