Skip to content

Commit

Permalink
Add better mock text for begrunnelse
Browse files Browse the repository at this point in the history
  • Loading branch information
AudunSorheim committed Nov 14, 2023
1 parent 31f7b00 commit 3b1a953
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
11 changes: 0 additions & 11 deletions src/components/ForhandsvarselComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,11 @@ export const ForhandsvarselComponent = ({

return (
<Page headerText="Varsel om stans av sykepenger">
{/*<div>{fristDato}</div>*/}

<div className="flex flex-col gap-4">
{document?.map((d) => {
switch (d.type) {
case "HEADER_H1":
return null;
// (
// <div>
// {d.texts.map((text, index) => (
// <Heading size="xlarge" level="1" key={index}>
// {text}
// </Heading>
// ))}
// </div>
// );
case "HEADER_H2":
return (
<div className="mt-4">
Expand Down
2 changes: 1 addition & 1 deletion src/mocks/ForhaandsvarselDocumentMock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const forhaandsvarselDocumentMock: DocumentComponent[] = [
"key": null,
"title": null,
"texts": [
"jhyug87g"
"Her kan veilederen skrive fritekst om begrunnelse.."
]
},
{
Expand Down

0 comments on commit 3b1a953

Please sign in to comment.