diff --git a/src/felles-komponenter/modal/Modal.tsx b/src/felles-komponenter/modal/Modal.tsx index 3b6240b90..b5935e93f 100644 --- a/src/felles-komponenter/modal/Modal.tsx +++ b/src/felles-komponenter/modal/Modal.tsx @@ -1,5 +1,4 @@ -import { Button, Heading, Link, Modal as AkselModal } from '@navikt/ds-react'; -import classNames from 'classnames'; +import { Heading, Link, Modal as AkselModal } from '@navikt/ds-react'; import React, { MouseEventHandler, ReactNode } from 'react'; import { useNavigate } from 'react-router-dom'; @@ -7,7 +6,6 @@ import { SerializedError } from '../../api/utils'; import Feilmelding from '../../moduler/feilmelding/Feilmelding'; import { useRoutes } from '../../routes'; import Innholdslaster, { Avhengighet } from '../utils/Innholdslaster'; -import { ChevronLeftCircleIcon, ChevronLeftIcon } from '@navikt/aksel-icons'; interface Props { className?: string; diff --git a/src/moduler/informasjon/informasjon-modal.tsx b/src/moduler/informasjon/informasjon-modal.tsx index fe200135b..21368b73b 100644 --- a/src/moduler/informasjon/informasjon-modal.tsx +++ b/src/moduler/informasjon/informasjon-modal.tsx @@ -1,4 +1,4 @@ -import { Accordion, BodyShort, Heading, Link } from '@navikt/ds-react'; +import { Accordion, BodyShort, Link } from '@navikt/ds-react'; import PT from 'prop-types'; import React, { useEffect } from 'react'; import { connect } from 'react-redux'; diff --git a/src/moduler/utskrift/PrintMeldingForm.tsx b/src/moduler/utskrift/PrintMeldingForm.tsx index 355684874..d8f09986c 100644 --- a/src/moduler/utskrift/PrintMeldingForm.tsx +++ b/src/moduler/utskrift/PrintMeldingForm.tsx @@ -1,5 +1,5 @@ import { zodResolver } from '@hookform/resolvers/zod/dist/zod'; -import { Button, Heading, Textarea } from '@navikt/ds-react'; +import { Button, Textarea } from '@navikt/ds-react'; import React from 'react'; import { useForm } from 'react-hook-form'; import { z } from 'zod'; @@ -22,7 +22,7 @@ const schema = z.object({ export type PrintFormValues = z.infer; const PrintMeldingForm = (props: Props) => { - const { bruker, onSubmit } = props; + const { onSubmit } = props; const defaultValues: PrintFormValues = { beskrivelse: defaultBeskrivelse };