issues
search
staynomad
/
Nomad-Front
Prop-tech startup disrupting the budget homesharing industry
https://visitnomad.com
6
stars
0
forks
source link
Hotfix for infinite GET listing byRadius call
#510
Closed
aidenszeto
closed
3 years ago
aidenszeto
commented
3 years ago
Relevant issue
Closes #509
Summary of change
Hotfix for infinite request bug on Explore page
Testing/Verification
Visit the Explore page and open the Network tab in developer tools. The
byRadius
request should only be called once on mount
Additionally, if the user has not yet granted location access, the
byRadius
call should only be called if the user accepts location permissions
Relevant issue
Closes #509
Summary of change
Testing/Verification
byRadius
request should only be called once on mountbyRadius
call should only be called if the user accepts location permissions