Skip to content

Commit

Permalink
fix: hotfix to have mapview render once
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Feb 1, 2021
1 parent 409bf7d commit 57066ed
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions components/MapView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ const Maps = ({ organization }) => {

useEffect(() => {
retriveAsyncMarkers();
handleLocation().then().catch();
}, []);
});

const handleLocation = async () => {
const currentLocation = await getLocation().then().catch((e) => e);
Expand Down

0 comments on commit 57066ed

Please sign in to comment.