Skip to content

Commit

Permalink
Fjerner duplisert markup som er trekt inn i felleskomponent
Browse files Browse the repository at this point in the history
  • Loading branch information
matsbyfl committed Dec 23, 2024
1 parent a0c63f8 commit 00209a2
Showing 1 changed file with 5 additions and 10 deletions.
15 changes: 5 additions & 10 deletions client/src/saksbilde/hjelpemidler/Hjelpemiddel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -176,16 +176,11 @@ export function Hjelpemiddel({ hjelpemiddel, forenkletVisning, sak }: Hjelpemidd
</div>
<div>
{hjelpemiddel.utlevertinfo.alleredeUtlevertFraHjelpemiddelsentralen && (
<HStack gap="2">
{harAlleredeLevertVarsel() && (
<ExclamationmarkTriangleFillIcon color="var(--a-icon-warning)" fontSize="1.25rem" />
)}
<Etikett>Utlevert</Etikett>
<Utlevert
alleredeUtlevert={hjelpemiddel.utlevertinfo.alleredeUtlevertFraHjelpemiddelsentralen}
utlevertInfo={hjelpemiddel.utlevertinfo}
/>
</HStack>
<Utlevert
alleredeUtlevert={hjelpemiddel.utlevertinfo.alleredeUtlevertFraHjelpemiddelsentralen}
utlevertInfo={hjelpemiddel.utlevertinfo}
harVarsel={harAlleredeLevertVarsel()}
/>
)}
</div>
{/* TODO: kan fjerne undefined-sjekk når API er rullet ut */}
Expand Down

0 comments on commit 00209a2

Please sign in to comment.