-
Notifications
You must be signed in to change notification settings - Fork 1
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
BUG: Website freezes when location is disabled. #2
Comments
Do u have any fix for this. We can set a default location for this but in that case the browser doesnt ask for permission , the user when turn on location and reload the location will update . Any suggestion? |
@BishamKunwor Do u have any idea what can we do to solve this issue? |
Here Are the steps for How I'd go about solving the Issue.
@Ahadkhan-12 Feel free to suggest If I'd missed something. |
For point 1 : I tired to do that but failed to do so . For point 1 : Can u provide how to proceed with that , i cant find good reference to implement it. |
This guide should cover all that is required by you Your code only handles success case but not error case as seen in useEffect hook set a callback for when the location permission is denied. |
When location is enabled, the application is working fine.
Before:
After Location is turned off:
End Result:
The text was updated successfully, but these errors were encountered: