Skip to content

Commit

Permalink
Merge pull request #29 from geocodeearth/fix_useDeepCompareEffect
Browse files Browse the repository at this point in the history
fix: use-deep-compare-effect
  • Loading branch information
missinglink committed Oct 19, 2022
2 parents 7b4445a + f90ce6f commit 1ca5869
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/autocomplete/autocomplete.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default ({
} catch (err) {
onError(err)
}
}, [apiKey, params, options])
}, [apiKey, params, {...options}])

// search queries the autocomplete API
const search = useCallback(text => {
Expand Down

0 comments on commit 1ca5869

Please sign in to comment.