Skip to content

Commit

Permalink
Merge pull request #485 from Open-Earth-Foundation/fix/area-null-onbo…
Browse files Browse the repository at this point in the history
…arding

fix(ui): area null passed to addCity route
  • Loading branch information
lemilonkh authored May 6, 2024
2 parents 1aff99b + 0b26ee4 commit 9050df9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/src/app/[lng]/onboarding/setup/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -741,9 +741,9 @@ export default function OnboardingSetup({
city = await addCity({
name: data.name,
locode: data.locode!,
area,
region: regionName,
country: countryName,
area: area ?? undefined,
region: regionName ?? undefined,
country: countryName ?? undefined,
regionLocode: region?.actor_id ?? undefined,
countryLocode: country?.actor_id ?? undefined,
}).unwrap();
Expand Down

0 comments on commit 9050df9

Please sign in to comment.