diff --git a/src/components/pages/History/PoolTransactions.tsx b/src/components/pages/History/PoolTransactions.tsx
index 6d7d0cc25..0f692fe32 100644
--- a/src/components/pages/History/PoolTransactions.tsx
+++ b/src/components/pages/History/PoolTransactions.tsx
@@ -1,5 +1,5 @@
import { PoolTransaction } from '@oceanprotocol/lib/dist/node/balancer/OceanPool'
-import { useOcean } from '@oceanprotocol/react'
+import { useMetadata, useOcean } from '@oceanprotocol/react'
import { Link } from 'gatsby'
import React, { ReactElement, useEffect, useState } from 'react'
import DataTable from 'react-data-table-component'
@@ -7,6 +7,11 @@ import EtherscanLink from '../../atoms/EtherscanLink'
import Time from '../../atoms/Time'
import styles from './PoolTransactions.module.css'
+function AssetTitle({ did }: { did: string }): ReactElement {
+ const { title } = useMetadata(did)
+ return {title || did}
+}
+
const columns = [
{
name: 'Title',
@@ -25,10 +30,10 @@ const columns = [
}
},
{
- name: 'Asset',
+ name: 'Data Set',
selector: function getAssetRow(row: PoolTransaction) {
const did = row.dtAddress.replace('0x', 'did:op:')
- return {did}
+ return
}
},