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({
|
poolTransactions.push({
|
||||||
...data[i],
|
...data[i],
|
||||||
networkId: !minimal
|
networkId: !minimal
|
||||||
? getAsset(ddoList, data[i].pool.datatoken.id).chainId
|
? getAsset(ddoList, data[i].pool.datatoken.id)?.chainId
|
||||||
: poolChainId,
|
: poolChainId,
|
||||||
asset: !minimal ? getAsset(ddoList, data[i].pool.datatoken.id) : null
|
asset: !minimal ? getAsset(ddoList, data[i].pool.datatoken.id) : null
|
||||||
})
|
})
|
||||||
|
@ -39,7 +39,7 @@ export async function getAssetsFromPoolShares(
|
|||||||
assetList.push({
|
assetList.push({
|
||||||
poolShare: data[i],
|
poolShare: data[i],
|
||||||
userLiquidity,
|
userLiquidity,
|
||||||
networkId: getAsset(ddoList, data[i].pool.datatoken.address).chainId,
|
networkId: getAsset(ddoList, data[i].pool.datatoken.address)?.chainId,
|
||||||
createTime: data[i].pool.createdTimestamp,
|
createTime: data[i].pool.createdTimestamp,
|
||||||
asset: getAsset(ddoList, data[i].pool.datatoken.address)
|
asset: getAsset(ddoList, data[i].pool.datatoken.address)
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user