mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
Merge branch 'main' into fix/issue497-fetch-price-subgraph
This commit is contained in:
commit
3670993fd7
@ -18,7 +18,6 @@ export default function AssetActions(): ReactElement {
|
|||||||
|
|
||||||
const [isBalanceSufficient, setIsBalanceSufficient] = useState<boolean>()
|
const [isBalanceSufficient, setIsBalanceSufficient] = useState<boolean>()
|
||||||
const [dtBalance, setDtBalance] = useState<string>()
|
const [dtBalance, setDtBalance] = useState<string>()
|
||||||
|
|
||||||
const isCompute = Boolean(ddo?.findServiceByType('compute'))
|
const isCompute = Boolean(ddo?.findServiceByType('compute'))
|
||||||
|
|
||||||
// Get and set user DT balance
|
// Get and set user DT balance
|
||||||
@ -74,10 +73,7 @@ export default function AssetActions(): ReactElement {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
// Check from metadata, cause that is available earlier
|
price?.type === 'pool' &&
|
||||||
const hasPool = ddo?.price?.type === 'pool'
|
|
||||||
|
|
||||||
hasPool &&
|
|
||||||
tabs.push(
|
tabs.push(
|
||||||
{
|
{
|
||||||
title: 'Pool',
|
title: 'Pool',
|
||||||
|
Loading…
Reference in New Issue
Block a user