diff --git a/src/@types/AssetExtended.d.ts b/src/@types/AssetExtended.d.ts index 71d63e265..abb730c45 100644 --- a/src/@types/AssetExtended.d.ts +++ b/src/@types/AssetExtended.d.ts @@ -1,4 +1,4 @@ -import { Asset } from '@oceanprotocol/lib' +import { Asset, Metadata } from '@oceanprotocol/lib' // declaring into global scope to be able to use this as // ambiant types despite the above imports @@ -6,7 +6,7 @@ declare global { interface AssetExtended extends Asset { accessDetails?: AccessDetails views?: number - metadata: MetadataExtended + metadata: Metadata services: ServiceExtended[] } } diff --git a/src/components/@shared/AssetList/index.tsx b/src/components/@shared/AssetList/index.tsx index 8b44387f5..736bc21e2 100644 --- a/src/components/@shared/AssetList/index.tsx +++ b/src/components/@shared/AssetList/index.tsx @@ -35,8 +35,10 @@ const columns: TableOceanColumn[] = [ return ( ) },