We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f7c67d commit 85b5efaCopy full SHA for 85b5efa
src/AddressAutocomplete.tsx
@@ -49,7 +49,10 @@ const AddressAutocomplete = ({
49
}, [fields]);
50
51
// Options label
52
- const getOptionLabel = useCallback((option: PlaceType) => (typeof option === 'string' ? option : option.description), []);
+ const getOptionLabel = useCallback(
53
+ (option: PlaceType) => (typeof option === 'string' ? option : option.description),
54
+ []
55
+ );
56
57
// Autocomplete equals
58
const isOptionEqualToValue = useCallback(
0 commit comments