diff --git a/apps/data-norge/src/app/[lang]/about/layout.tsx b/apps/data-norge/src/app/[lang]/about/layout.tsx index 4f5670a0..df188c14 100644 --- a/apps/data-norge/src/app/[lang]/about/layout.tsx +++ b/apps/data-norge/src/app/[lang]/about/layout.tsx @@ -1,3 +1,6 @@ import DocsLayout from '@fdk-frontend/ui/layouts/docs-layout'; +export const revalidate = 0; +export const dynamic = 'force-dynamic'; + export default DocsLayout; diff --git a/apps/data-norge/src/app/[lang]/catalogs/layout.tsx b/apps/data-norge/src/app/[lang]/catalogs/layout.tsx index 4f5670a0..df188c14 100644 --- a/apps/data-norge/src/app/[lang]/catalogs/layout.tsx +++ b/apps/data-norge/src/app/[lang]/catalogs/layout.tsx @@ -1,3 +1,6 @@ import DocsLayout from '@fdk-frontend/ui/layouts/docs-layout'; +export const revalidate = 0; +export const dynamic = 'force-dynamic'; + export default DocsLayout; diff --git a/apps/data-norge/src/app/[lang]/contact/layout.tsx b/apps/data-norge/src/app/[lang]/contact/layout.tsx index 4f5670a0..df188c14 100644 --- a/apps/data-norge/src/app/[lang]/contact/layout.tsx +++ b/apps/data-norge/src/app/[lang]/contact/layout.tsx @@ -1,3 +1,6 @@ import DocsLayout from '@fdk-frontend/ui/layouts/docs-layout'; +export const revalidate = 0; +export const dynamic = 'force-dynamic'; + export default DocsLayout; diff --git a/apps/data-norge/src/app/[lang]/data-hunter/layout.tsx b/apps/data-norge/src/app/[lang]/data-hunter/layout.tsx index 4f5670a0..df188c14 100644 --- a/apps/data-norge/src/app/[lang]/data-hunter/layout.tsx +++ b/apps/data-norge/src/app/[lang]/data-hunter/layout.tsx @@ -1,3 +1,6 @@ import DocsLayout from '@fdk-frontend/ui/layouts/docs-layout'; +export const revalidate = 0; +export const dynamic = 'force-dynamic'; + export default DocsLayout; diff --git a/apps/data-norge/src/app/[lang]/docs/layout.tsx b/apps/data-norge/src/app/[lang]/docs/layout.tsx index 4f5670a0..df188c14 100644 --- a/apps/data-norge/src/app/[lang]/docs/layout.tsx +++ b/apps/data-norge/src/app/[lang]/docs/layout.tsx @@ -1,3 +1,6 @@ import DocsLayout from '@fdk-frontend/ui/layouts/docs-layout'; +export const revalidate = 0; +export const dynamic = 'force-dynamic'; + export default DocsLayout; diff --git a/libs/ui/src/lib/layouts/docs-layout/index.tsx b/libs/ui/src/lib/layouts/docs-layout/index.tsx index 4084078b..9ffe3b87 100644 --- a/libs/ui/src/lib/layouts/docs-layout/index.tsx +++ b/libs/ui/src/lib/layouts/docs-layout/index.tsx @@ -5,9 +5,6 @@ import { type Locale, getDictionary } from '@fdk-frontend/dictionaries'; import HeaderLayout from '../header-layout'; import FeedbackLayout from '../feedback-layout'; -export const revalidate = 0; -export const dynamic = 'force-dynamic'; - export type DocsLayoutProps = { params: Promise<{ lang: Locale['code'];