Skip to content

Commit

Permalink
fix: home map
Browse files Browse the repository at this point in the history
  • Loading branch information
hopetambala committed Oct 10, 2022
1 parent 46afbc7 commit 69d210c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/MapView/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const Maps = ({ organization }) => {
let isSubscribed = true;

async function fetchRegion() {
await getData('assetMapRegion').then((data) => {
await getData('homeMapRegion').then((data) => {
if (isSubscribed) {
if (!data) {
handleLocation();
Expand Down Expand Up @@ -49,7 +49,7 @@ const Maps = ({ organization }) => {
longitudeDelta: 0.0421,
latitude,
longitude,
}, 'assetMapRegion');
}, 'homeMapRegion');
}).catch((e) => {
console.log(e) //eslint-disable-line
});
Expand Down

0 comments on commit 69d210c

Please sign in to comment.