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 7a2d9ae commit eb3e427
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 17 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

0 comments on commit eb3e427

Please sign in to comment.