Hello, so we implemented google autocomplete in our project, we have two similar projects one is with create-react-app another is with next.js we use the same component.
We run into problems when the code goes in prod, or if we build and run the project locally, autocomplete does not work and console shows random errors and react-google-autocomplete does not work.
Uncaught SyntaxError: Identifier 'B' has already been declared (at 5867.5af1d63e943940b9.js:1:1041)
This is the component of GoogleAddressAutocomplete
Hello, so we implemented google autocomplete in our project, we have two similar projects one is with create-react-app another is with next.js we use the same component. We run into problems when the code goes in prod, or if we build and run the project locally, autocomplete does not work and console shows random errors and react-google-autocomplete does not work. Uncaught SyntaxError: Identifier 'B' has already been declared (at 5867.5af1d63e943940b9.js:1:1041)
This is the component of GoogleAddressAutocomplete