From 4d074f5a83c9a6e55e1026382a914548a675f1df Mon Sep 17 00:00:00 2001 From: perolavm Date: Mon, 24 Apr 2023 11:05:33 +0200 Subject: [PATCH 1/2] article->section for driftsmeldinger --- .../header/common/driftsmeldinger/Driftsmeldinger.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/komponenter/header/common/driftsmeldinger/Driftsmeldinger.tsx b/src/komponenter/header/common/driftsmeldinger/Driftsmeldinger.tsx index 7409e11a9..06d2238d9 100644 --- a/src/komponenter/header/common/driftsmeldinger/Driftsmeldinger.tsx +++ b/src/komponenter/header/common/driftsmeldinger/Driftsmeldinger.tsx @@ -41,7 +41,7 @@ export const Driftsmeldinger = () => { const currentDriftsmeldinger = getCurrentDriftsmeldinger(driftsmeldinger); return currentDriftsmeldinger.length > 0 ? ( -
+
{currentDriftsmeldinger.map((melding) => ( { {melding.heading} ))} -
+ ) : null; }; From 98a74bf5d5f097f0dd73256cbf7162b11ddffd1c Mon Sep 17 00:00:00 2001 From: perolavm Date: Mon, 24 Apr 2023 11:18:48 +0200 Subject: [PATCH 2/2] main i dummy-app template --- src/server/template.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/server/template.tsx b/src/server/template.tsx index 3141c22ff..bde96cc9d 100644 --- a/src/server/template.tsx +++ b/src/server/template.tsx @@ -123,11 +123,11 @@ export const template = (req: Request) => {
${HtmlHeader}
-
+
-
+