mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
fix profile (#1499)
Signed-off-by: mihaisc <mihai.scarlat@smartcontrol.ro>
This commit is contained in:
parent
ed13131f57
commit
f901355e98
@ -187,7 +187,7 @@ export default function PoolTransactions({
|
||||
poolTransactions.push({
|
||||
...data[i],
|
||||
networkId: !minimal
|
||||
? getAsset(ddoList, data[i].pool.datatoken.id).chainId
|
||||
? getAsset(ddoList, data[i].pool.datatoken.id)?.chainId
|
||||
: poolChainId,
|
||||
asset: !minimal ? getAsset(ddoList, data[i].pool.datatoken.id) : null
|
||||
})
|
||||
|
@ -39,7 +39,7 @@ export async function getAssetsFromPoolShares(
|
||||
assetList.push({
|
||||
poolShare: data[i],
|
||||
userLiquidity,
|
||||
networkId: getAsset(ddoList, data[i].pool.datatoken.address).chainId,
|
||||
networkId: getAsset(ddoList, data[i].pool.datatoken.address)?.chainId,
|
||||
createTime: data[i].pool.createdTimestamp,
|
||||
asset: getAsset(ddoList, data[i].pool.datatoken.address)
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user