Skip to content

Commit

Permalink
fix(fao-deforestation): add async to getDataURL
Browse files Browse the repository at this point in the history
  • Loading branch information
willian-viana committed Nov 30, 2023
1 parent 9f6daf7 commit 668bc46
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/widgets/forest-change/fao-deforest/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export default {
};
})
),
getDataURL: (params) => [
getFAODeforest({ ...params, download: true }),
getFAODeforestRank({ ...params, download: true }),
getDataURL: async (params) => [
await getFAODeforest({ ...params, download: true }),
await getFAODeforestRank({ ...params, download: true }),
],
getWidgetProps,
};

0 comments on commit 668bc46

Please sign in to comment.