Skip to content

Commit

Permalink
fix: force dynamic layout
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreiffers committed Nov 21, 2024
1 parent 788da77 commit b7a6cec
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 3 deletions.
3 changes: 3 additions & 0 deletions apps/data-norge/src/app/[lang]/about/layout.tsx
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 3 additions & 0 deletions apps/data-norge/src/app/[lang]/catalogs/layout.tsx
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 3 additions & 0 deletions apps/data-norge/src/app/[lang]/contact/layout.tsx
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 3 additions & 0 deletions apps/data-norge/src/app/[lang]/data-hunter/layout.tsx
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 3 additions & 0 deletions apps/data-norge/src/app/[lang]/docs/layout.tsx
Original file line number Diff line number Diff line change
@@ -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;
3 changes: 0 additions & 3 deletions libs/ui/src/lib/layouts/docs-layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'];
Expand Down

0 comments on commit b7a6cec

Please sign in to comment.