You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, next.js complains about ReferenceError: window is not defined. I understand that google has not been initialised.. and the issue would be fixed if useGeocode is used after usePlacesAutocomplete.. but i need it this way and don't know how to go about it. Any advice?
The text was updated successfully, but these errors were encountered:
I want to use
getGeocode
to getlatlng
to input asrequestOptions
withinusePlaceAutocomplete
something like that:
However, next.js complains about
ReferenceError: window is not defined
. I understand that google has not been initialised.. and the issue would be fixed ifuseGeocode
is used afterusePlacesAutocomplete
.. but i need it this way and don't know how to go about it. Any advice?The text was updated successfully, but these errors were encountered: