Skip to content

Commit

Permalink
fix lint and ts-check error
Browse files Browse the repository at this point in the history
  • Loading branch information
sandrahoang686 committed Dec 16, 2024
1 parent 77589ae commit 7c59dc5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/scripts/components/common/card/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
? {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const DatasetModal = styled(Modal)`
interface DatasetSelectorModalProps {
revealed: boolean;
close: () => void;
linkProperties: LinkProperties;
linkProperties?: LinkProperties;
datasets: DatasetData[];
datasetPathName: string;
timelineDatasets: TimelineDataset[];
Expand Down Expand Up @@ -126,7 +126,6 @@ export function DatasetSelectorModal(props: DatasetSelectorModalProps) {
setSelectedIds={setSelectedIds}
onAction={onAction}
filterLayers={true}
linkProperties={linkProperties}
emptyStateContent={
<>
<p>There are no datasets to show with the selected filters.</p>
Expand Down

0 comments on commit 7c59dc5

Please sign in to comment.