Skip to content

Commit ea5adf1

Browse files
committed
Opprydning
1 parent db49e43 commit ea5adf1

File tree

2 files changed

+0
-3
lines changed

2 files changed

+0
-3
lines changed

packages/prosess-uttak/src/ui/Uttak.stories.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import { AnnenPart, Arbeidstype, Utfall, Årsaker } from '../constants';
33
import { Endringsstatus } from '../types';
44
import UttakContainer from './UttakContainer';
55
import { userEvent, within, expect } from '@storybook/test';
6-
import withFeatureToggles from '@k9-sak-web/gui/storybook/decorators/withFeatureToggles.js';
76

87
const meta: Meta<typeof UttakContainer> = {
98
title: 'prosess/prosess-uttak',

packages/prosess-uttak/src/ui/components/uttak/Uttak.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ import ContainerContext from '../../context/ContainerContext';
2020
import Endringsstatus from '../icons/Endringsstatus';
2121
import UttakDetaljer from '../uttak-detaljer/UttakDetaljer';
2222

23-
import FeatureTogglesContext from '@k9-sak-web/gui/featuretoggles/FeatureTogglesContext.js';
2423
import styles from './uttak.module.css';
2524

2625
import type { JSX } from 'react';
@@ -35,7 +34,6 @@ interface UttakProps {
3534
}
3635

3736
const Uttak = ({ uttak, erValgt, velgPeriode, withBorderTop = false }: UttakProps): JSX.Element => {
38-
const featureToggles = React.useContext(FeatureTogglesContext);
3937
const { periode, uttaksgrad, inngangsvilkår, pleiebehov, årsaker, endringsstatus, manueltOverstyrt } = uttak;
4038
const { erFagytelsetypeLivetsSluttfase } = React.useContext(ContainerContext);
4139

0 commit comments

Comments
 (0)