Skip to content

Commit

Permalink
fiks compile error
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnav990 committed Oct 17, 2024
1 parent e88035c commit 8f37cd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/saksbehandling/brev/BrevPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import {
RadioGroup,
Select,
TextField,
UNSAFE_FileUpload,
FileUpload,
VStack,
} from '@navikt/ds-react';
import { Controller, useForm } from 'react-hook-form';
Expand Down Expand Up @@ -172,7 +172,7 @@ const BrevPage = () => {
control={form.control}
name={'fileObject'}
render={({ field, fieldState }) => (
<UNSAFE_FileUpload.Dropzone
<FileUpload.Dropzone
label="Last opp brevet"
description={`Du kan laste opp PDF-filen. Maks 1 fil.`}
accept=".pdf"
Expand All @@ -188,7 +188,7 @@ const BrevPage = () => {
<Heading level="3" size="xsmall">
Vedlegg (1)
</Heading>
<UNSAFE_FileUpload.Item
<FileUpload.Item
file={form.watch('fileObject')!.file}
button={{
action: 'delete',
Expand Down

0 comments on commit 8f37cd5

Please sign in to comment.