diff --git a/frontend/src/components/projectDetail/downloadOsmData.js b/frontend/src/components/projectDetail/downloadOsmData.js index 4a1acdfefa..aea68bace2 100644 --- a/frontend/src/components/projectDetail/downloadOsmData.js +++ b/frontend/src/components/projectDetail/downloadOsmData.js @@ -38,8 +38,6 @@ export const TITLED_ICONS = [ }, ]; -const fileFormats = [{ format: 'SHP' }, { format: 'GEOJSON' }, { format: 'KML' }]; - /** * Renders a list of download options for OSM data based on the project mapping types. * @@ -176,7 +174,7 @@ export const DownloadOsmData = ({ projectMappingTypes, project }) => {
{type.title}
{typ}
++ {typ} {selectedCategoryFormat.format} +
))} diff --git a/frontend/src/components/projectDetail/fileFormatCard.js b/frontend/src/components/projectDetail/fileFormatCard.js index 7e57fbc596..fc2c11b24c 100644 --- a/frontend/src/components/projectDetail/fileFormatCard.js +++ b/frontend/src/components/projectDetail/fileFormatCard.js @@ -26,10 +26,10 @@ function FileFormatCard({ const loadingState = isDownloadingState?.isDownloading && isDownloadingState?.title === title && - isDownloadingState?.fileFormat === fileFormat?.format; + isDownloadingState?.fileFormat === fileFormat; return ( -- {fileFormat.format} +
+ {fileFormat}
{loadingState ?