Skip to content

Commit

Permalink
Fiks noen flere feil
Browse files Browse the repository at this point in the history
  • Loading branch information
anderslysne committed Jan 17, 2025
1 parent bd35871 commit 6561e25
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/api/enhetsregisteretApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ import useSWR from 'swr';

const Adresse = z
.object({
adresse: z.string(),
kommune: z.string(),
kommunenummer: z.string(),
land: z.string(),
landkode: z.string(),
postnummer: z.string(),
poststed: z.string(),
adresse: z.string().nullable(),
kommune: z.string().nullable(),
kommunenummer: z.string().nullable(),
land: z.string().nullable(),
landkode: z.string().nullable(),
postnummer: z.string().nullable(),
poststed: z.string().nullable(),
})
.partial();

Expand Down

0 comments on commit 6561e25

Please sign in to comment.