Skip to content

Commit 6a8efa2

Browse files
committed
chore(comments): remove old comments
1 parent 72fd5cc commit 6a8efa2

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

pages/dashboards/[[...location]].js

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import { parseStringWithVars } from 'utils/strings';
1313
import { getLocationData } from 'services/location';
1414
import { getPublishedNotifications } from 'services/notifications';
1515
import {
16-
// getCountriesProvider,
1716
getRegionsProvider,
1817
getSubRegionsProvider,
1918
getCategorisedCountries,

pages/embed/sentence/[[...location]].js

-16
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import { parseGadm36Id } from 'utils/gadm';
66

77
import { getLocationData } from 'services/location';
88
import {
9-
// getCountriesProvider,
109
getRegionsProvider,
1110
getSubRegionsProvider,
1211
getCategorisedCountries,
@@ -151,21 +150,6 @@ export const getServerSideProps = async ({ params }) => {
151150
};
152151
}
153152
};
154-
//
155-
// export const getStaticPaths = async () => {
156-
// const countryData = await getCountriesProvider();
157-
// const { rows: countries } = countryData?.data || {};
158-
// const countryPaths = countries.map((c) => ({
159-
// params: {
160-
// location: ['country', c.iso],
161-
// },
162-
// }));
163-
//
164-
// return {
165-
// paths: ['/embed/sentence/', ...countryPaths] || [],
166-
// fallback: true,
167-
// };
168-
// };
169153

170154
const getSentenceClientSide = async (
171155
locationNames = null,

services/geostore.js

-5
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@ import { apiRequest } from 'utils/request';
22

33
import { getDatasetQuery, getDatasetGeostore } from 'services/datasets';
44

5-
<<<<<<< HEAD
6-
=======
7-
// const LARGE_ISOS = ['USA', 'RUS', 'CAN', 'CHN', 'BRA', 'IDN', 'AUS'];
8-
9-
>>>>>>> f376d35565 (feat(metadata): add new geostore query for admin level 0)
105
const getWDPAGeostore = ({ id, token }) =>
116
getDatasetQuery({
127
dataset: 'wdpa_protected_areas',

0 commit comments

Comments
 (0)