Skip to content

Commit

Permalink
Fikset feil innsending av props (#5258)
Browse files Browse the repository at this point in the history
  • Loading branch information
hallvardastark authored Nov 14, 2023
1 parent f809588 commit 5145866
Showing 1 changed file with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,29 @@ import { Omsorgsdager } from '@navikt/k9-fe-omsorgsdager';
import React from 'react';
import KartleggePropertyTilOmsorgenForMikrofrontendKomponent from './KartleggePropertyTilOmsorgenForMikrofrontendKomponent';

export default props => (
export default ({
isReadOnly,
aksjonspunkter,
isAksjonspunktOpen,
submitCallback,
behandling,
status,
vilkar,
angitteBarn,
fagsaksType,
harBarnSoktForRammevedtakOmKroniskSyk,
}) => (
<Omsorgsdager
containerData={KartleggePropertyTilOmsorgenForMikrofrontendKomponent({
...props,
isReadOnly,
submitCallback,
behandling,
angitteBarn,
aksjonspunktInformasjon: { aksjonspunkter, isAksjonspunktOpen },
vilkarInformasjon: { vilkar, status },
fagsaksType,
FormState,
harBarnSoktForRammevedtakOmKroniskSyk,
})}
/>
);

0 comments on commit 5145866

Please sign in to comment.