-
-
Notifications
You must be signed in to change notification settings - Fork 450
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError: Cannot read properties of undefined (reading 'lat') at getPlacesData (index.js:11:1) #33
Comments
hey is it ok if i check your repo ? ☺ maybe then we can do something , maybe something is not correctly implemented ? |
can u help me to fix the bug |
the error message suggests that the error , and i cannot fix this without checking the code now can i @16030IT028 |
do one thing instead of
- bounds.lat , bounds.long
+ bounds?.lat , bounds?.long |
can i show my error in googlemeet r teams so it is easy to rectify |
Having the same problem now. Can you tell me how you solved it? |
I do not know why I am getting this error, code looks exactly the same as in the video.
I have tried changing
const [bounds, setBounds] = useState(null)
toconst [bounds, setBounds] = useState({ })
but it still throws this error, have been stuck on this issue for the last 3 hours now. Any help would be appreciated.
The text was updated successfully, but these errors were encountered: