Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Ikke avklart ved servicegruppe === null
Browse files Browse the repository at this point in the history
  • Loading branch information
jstnhlj committed Feb 26, 2024
1 parent ca06e3f commit df8f1da
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ import { useHarGyldigBehovsvurderingNyttApi } from '../../hooks/use-har-gyldig-b
import { Servicegruppe, useOppfolgingData } from '../../hooks/use-oppfolging-data';

function Behovsavklaring() {
const { servicegruppe } = useOppfolgingData(); // TODO: ikke bruke denne
const { servicegruppe } = useOppfolgingData(); // TODO: skal vi bruke denne?
const harGyldigBehovsvurdering = useHarGyldigBehovsvurderingNyttApi();

if (servicegruppe !== Servicegruppe.IVURD) {
if (servicegruppe !== Servicegruppe.IVURD && servicegruppe !== null) {
return <BehovsavklaringAvklart servicegruppe={servicegruppe} />;
}

Expand Down

0 comments on commit df8f1da

Please sign in to comment.