From 3b1a95364dab8df2c95f315309d983151bc90004 Mon Sep 17 00:00:00 2001 From: AudunSorheim Date: Tue, 14 Nov 2023 12:15:31 +0100 Subject: [PATCH] Add better mock text for begrunnelse --- src/components/ForhandsvarselComponent.tsx | 11 ----------- src/mocks/ForhaandsvarselDocumentMock.ts | 2 +- 2 files changed, 1 insertion(+), 12 deletions(-) diff --git a/src/components/ForhandsvarselComponent.tsx b/src/components/ForhandsvarselComponent.tsx index 445e9564..01d535f6 100644 --- a/src/components/ForhandsvarselComponent.tsx +++ b/src/components/ForhandsvarselComponent.tsx @@ -23,22 +23,11 @@ export const ForhandsvarselComponent = ({ return ( - {/*
{fristDato}
*/} -
{document?.map((d) => { switch (d.type) { case "HEADER_H1": return null; - // ( - //
- // {d.texts.map((text, index) => ( - // - // {text} - // - // ))} - //
- // ); case "HEADER_H2": return (
diff --git a/src/mocks/ForhaandsvarselDocumentMock.ts b/src/mocks/ForhaandsvarselDocumentMock.ts index c880cfdc..2f4c3552 100644 --- a/src/mocks/ForhaandsvarselDocumentMock.ts +++ b/src/mocks/ForhaandsvarselDocumentMock.ts @@ -22,7 +22,7 @@ export const forhaandsvarselDocumentMock: DocumentComponent[] = [ "key": null, "title": null, "texts": [ - "jhyug87g" + "Her kan veilederen skrive fritekst om begrunnelse.." ] }, {