From 6f931c83a925bbb1af7e243ef21e29084232e105 Mon Sep 17 00:00:00 2001 From: Sandra Hoang Date: Sun, 15 Dec 2024 18:38:41 -0500 Subject: [PATCH] some cleanup --- app/scripts/components/common/catalog/catalog-card.tsx | 3 +-- app/scripts/components/common/catalog/index.tsx | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/scripts/components/common/catalog/catalog-card.tsx b/app/scripts/components/common/catalog/catalog-card.tsx index 654ec6873..779aa4b2c 100644 --- a/app/scripts/components/common/catalog/catalog-card.tsx +++ b/app/scripts/components/common/catalog/catalog-card.tsx @@ -7,7 +7,7 @@ import { CardTopicsList } from "../card/styles"; import TextHighlight from "../text-highlight"; import { getDatasetDescription, getMediaProperty } from './utils'; import { DatasetData, DatasetLayer } from "$types/veda"; -import { TAXONOMY_SOURCE, TAXONOMY_TOPICS, getAllTaxonomyValues, getTaxonomy } from "$utils/veda-data/taxonomies"; +import { TAXONOMY_TOPICS, getAllTaxonomyValues, getTaxonomy } from "$utils/veda-data/taxonomies"; import { Pill } from "$styles/pill"; interface CatalogCardProps { @@ -99,7 +99,6 @@ export const CatalogCard = (props: CatalogCardProps) => { } = props; const topics = getTaxonomy(dataset, TAXONOMY_TOPICS)?.values; - const sources = getTaxonomy(dataset, TAXONOMY_SOURCE)?.values; const allTaxonomyValues = getAllTaxonomyValues(dataset).map((v) => v.name); const title = layer ? layer.name : dataset.name; diff --git a/app/scripts/components/common/catalog/index.tsx b/app/scripts/components/common/catalog/index.tsx index 55c6e351d..a78e029a2 100644 --- a/app/scripts/components/common/catalog/index.tsx +++ b/app/scripts/components/common/catalog/index.tsx @@ -2,7 +2,7 @@ import React from 'react'; import styled from 'styled-components'; import { themeVal } from '@devseed-ui/theme-provider'; import CatalogContent from './catalog-content'; -import { DatasetData, LinkProperties } from '$types/veda'; +import { DatasetData } from '$types/veda'; import { useSlidingStickyHeaderProps } from '$components/common/layout-root/useSlidingStickyHeaderProps';