From b5fa6a5be136e719ca0faea0c500bab37481a6f8 Mon Sep 17 00:00:00 2001 From: Chaoran Chen Date: Thu, 7 Mar 2024 22:56:14 +0100 Subject: [PATCH] Remove fields other than Loculus from DatasetForm --- .../src/components/DatasetCitations/DatasetForm.tsx | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/website/src/components/DatasetCitations/DatasetForm.tsx b/website/src/components/DatasetCitations/DatasetForm.tsx index fad51dd63..fe15bf0aa 100644 --- a/website/src/components/DatasetCitations/DatasetForm.tsx +++ b/website/src/components/DatasetCitations/DatasetForm.tsx @@ -52,18 +52,6 @@ export const DatasetForm: FC = ({ clientConfig, accessToken, e accession, type: DatasetRecordType.loculus, })), - ...getAccessionsByType(DatasetRecordType.genbank).map((accession) => ({ - accession, - type: DatasetRecordType.genbank, - })), - ...getAccessionsByType(DatasetRecordType.sra).map((accession) => ({ - accession, - type: DatasetRecordType.sra, - })), - ...getAccessionsByType(DatasetRecordType.gisaid).map((accession) => ({ - accession, - type: DatasetRecordType.gisaid, - })), ], }; };