Skip to content

Commit

Permalink
chore(comments): remove old comments
Browse files Browse the repository at this point in the history
  • Loading branch information
willian-viana committed Nov 25, 2024
1 parent 394c9f4 commit 2223e1c
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
1 change: 0 additions & 1 deletion pages/dashboards/[[...location]].js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import { parseStringWithVars } from 'utils/strings';
import { getLocationData } from 'services/location';
import { getPublishedNotifications } from 'services/notifications';
import {
// getCountriesProvider,
getRegionsProvider,
getSubRegionsProvider,
getCategorisedCountries,
Expand Down
16 changes: 0 additions & 16 deletions pages/embed/sentence/[[...location]].js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import { parseGadm36Id } from 'utils/gadm';

import { getLocationData } from 'services/location';
import {
// getCountriesProvider,
getRegionsProvider,
getSubRegionsProvider,
getCategorisedCountries,
Expand Down Expand Up @@ -151,21 +150,6 @@ export const getServerSideProps = async ({ params }) => {
};
}
};
//
// export const getStaticPaths = async () => {
// const countryData = await getCountriesProvider();
// const { rows: countries } = countryData?.data || {};
// const countryPaths = countries.map((c) => ({
// params: {
// location: ['country', c.iso],
// },
// }));
//
// return {
// paths: ['/embed/sentence/', ...countryPaths] || [],
// fallback: true,
// };
// };

const getSentenceClientSide = async (
locationNames = null,
Expand Down
5 changes: 0 additions & 5 deletions services/geostore.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ import { apiRequest } from 'utils/request';

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

<<<<<<< HEAD
=======
// const LARGE_ISOS = ['USA', 'RUS', 'CAN', 'CHN', 'BRA', 'IDN', 'AUS'];

>>>>>>> f376d35565 (feat(metadata): add new geostore query for admin level 0)
const getWDPAGeostore = ({ id, token }) =>
getDatasetQuery({
dataset: 'wdpa_protected_areas',
Expand Down

0 comments on commit 2223e1c

Please sign in to comment.