From e1e84d89197fbcf01b9c766e883cbb9b82ca063c Mon Sep 17 00:00:00 2001 From: bh-ethz Date: Thu, 8 Feb 2024 14:40:03 +0100 Subject: [PATCH] fix(website): revert use of FilterValue --- website/src/components/SearchPage/Table.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/SearchPage/Table.tsx b/website/src/components/SearchPage/Table.tsx index 123f96de1..8d1709258 100644 --- a/website/src/components/SearchPage/Table.tsx +++ b/website/src/components/SearchPage/Table.tsx @@ -2,7 +2,7 @@ import { capitalCase } from 'change-case'; import type { FC, ReactElement } from 'react'; import { routes } from '../../routes.ts'; -import type { FilterValue, MutationFilter, Schema } from '../../types/config.ts'; +import type { MetadataFilter, MutationFilter, Schema } from '../../types/config.ts'; import type { OrderBy } from '../../types/lapis.ts'; import MdiTriangle from '~icons/mdi/triangle'; import MdiTriangleDown from '~icons/mdi/triangle-down'; @@ -15,7 +15,7 @@ type TableProps = { organism: string; schema: Schema; data: TableSequenceData[]; - metadataFilter: FilterValue[]; + metadataFilter: MetadataFilter[]; mutationFilter: MutationFilter; page: number; orderBy: OrderBy;