diff --git a/app/scripts/components/common/card/index.tsx b/app/scripts/components/common/card/index.tsx index 908d8949b..b5d29de64 100644 --- a/app/scripts/components/common/card/index.tsx +++ b/app/scripts/components/common/card/index.tsx @@ -301,7 +301,7 @@ function CardComponent(props: CardComponentPropsType) { const { linkProperties: linkPropertiesProps } = props; linkProperties = linkPropertiesProps; } else { - // @NOTE: This currently just exists for GHG which uses the Card component + // @NOTE: This currently just exists for GHG which uses the Card component const { linkTo } = props; linkProperties = linkTo ? { diff --git a/app/scripts/components/exploration/components/dataset-selector-modal/index.tsx b/app/scripts/components/exploration/components/dataset-selector-modal/index.tsx index 171d08059..12548934b 100644 --- a/app/scripts/components/exploration/components/dataset-selector-modal/index.tsx +++ b/app/scripts/components/exploration/components/dataset-selector-modal/index.tsx @@ -66,7 +66,7 @@ const DatasetModal = styled(Modal)` interface DatasetSelectorModalProps { revealed: boolean; close: () => void; - linkProperties: LinkProperties; + linkProperties?: LinkProperties; datasets: DatasetData[]; datasetPathName: string; timelineDatasets: TimelineDataset[]; @@ -126,7 +126,6 @@ export function DatasetSelectorModal(props: DatasetSelectorModalProps) { setSelectedIds={setSelectedIds} onAction={onAction} filterLayers={true} - linkProperties={linkProperties} emptyStateContent={ <>

There are no datasets to show with the selected filters.