Getting error when using example in react-google-autocomplete/docs/debounce.js
avajscript opened this issue · comments
Matthew Pierce commented
I get the error:
TypeError: Cannot read properties of undefined (reading 'AutocompleteService')
Call Stack
buildService
node_modules\react-google-autocomplete\lib\usePlacesAutocompleteService.js (110:0)
eval
node_modules\react-google-autocomplete\lib\usePlacesAutocompleteService.js (118:0)
using the example in https://github.com/ErrorPro/react-google-autocomplete/blob/master/docs/debounce.js