diff --git a/libs/ui/src/lib/layouts/feedback-layout/index.tsx b/libs/ui/src/lib/layouts/feedback-layout/index.tsx index 801660f5..15345c39 100644 --- a/libs/ui/src/lib/layouts/feedback-layout/index.tsx +++ b/libs/ui/src/lib/layouts/feedback-layout/index.tsx @@ -6,6 +6,7 @@ import { ExternalLinkIcon } from '@navikt/aksel-icons'; import { type Dictionary, interpolate } from '@fdk-frontend/dictionaries'; import styles from './feedback-layout.module.scss'; +import { cookies } from 'next/headers'; type FeedbackLayoutProps = { dictionary: Dictionary; @@ -19,6 +20,9 @@ const FeedbackLayout = async ({ baseUri, communityBaseUri, }: PropsWithChildren & FeedbackLayoutProps) => { + // Opt-in SSR + cookies(); + return (