diff --git a/app/components/Export/components/AnVILExplorer/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx b/app/components/Export/components/AnVILExplorer/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx index acd367a86..06f8e1b05 100644 --- a/app/components/Export/components/AnVILExplorer/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx +++ b/app/components/Export/components/AnVILExplorer/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity.tsx @@ -1,24 +1,10 @@ -import { MANIFEST_DOWNLOAD_FORMAT } from "@databiosphere/findable-ui/lib/apis/azul/common/entities"; import { FileManifestDownload } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/components/FileManifestDownload/fileManifestDownload"; import { ManifestDownloadEntityProps } from "@databiosphere/findable-ui/lib/components/Export/components/ManifestDownload/components/ManifestDownloadEntity/manifestDownloadEntity"; -import { FILE_MANIFEST_TYPE } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/common/entities"; -import { useRequestFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useRequestFileManifest"; +import { useFileManifest } from "@databiosphere/findable-ui/lib/hooks/useFileManifest/useFileManifest"; export const ManifestDownloadEntity = ({ filters, -}: Omit< - ManifestDownloadEntityProps, - "fileManifestType" | "metadataFilters" ->): JSX.Element => { - useRequestFileManifest( - FILE_MANIFEST_TYPE.ENTITY_DOWNLOAD_MANIFEST, - MANIFEST_DOWNLOAD_FORMAT.COMPACT, - filters, - undefined - ); - return ( - <> - - - ); +}: Pick): JSX.Element => { + useFileManifest(filters); + return ; };