Skip to content

Commit

Permalink
Add default value for street and street number
Browse files Browse the repository at this point in the history
  • Loading branch information
Krishna2323 authored Jan 31, 2025
1 parent ec88458 commit 5c48cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/AddressSearch/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ function AddressSearch(
country: countryFallbackLongName = '',
state: stateAutoCompleteFallback = '',
city: cityAutocompleteFallback = '',
street: streetAutocompleteFallback,
streetNumber: streetNumberAutocompleteFallback,
street: streetAutocompleteFallback = '',
streetNumber: streetNumberAutocompleteFallback = '',
} = getPlaceAutocompleteTerms(autocompleteData?.terms ?? []);

const countryFallback = Object.keys(CONST.ALL_COUNTRIES).find((country) => country === countryFallbackLongName);
Expand Down

0 comments on commit 5c48cfc

Please sign in to comment.