Skip to content

Commit

Permalink
removed unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
johatr committed Oct 3, 2023
1 parent c03714b commit e1d9412
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/felles-komponenter/modal/Modal.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
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';

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;
Expand Down
2 changes: 1 addition & 1 deletion src/moduler/informasjon/informasjon-modal.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
4 changes: 2 additions & 2 deletions src/moduler/utskrift/PrintMeldingForm.tsx
Original file line number Diff line number Diff line change
@@ -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';
Expand All @@ -22,7 +22,7 @@ const schema = z.object({
export type PrintFormValues = z.infer<typeof schema>;

const PrintMeldingForm = (props: Props) => {
const { bruker, onSubmit } = props;
const { onSubmit } = props;

const defaultValues: PrintFormValues = { beskrivelse: defaultBeskrivelse };

Expand Down

0 comments on commit e1d9412

Please sign in to comment.