Merge branch 'main' into fix/issue497-fetch-price-subgraph

This commit is contained in:
Bogdan Fazakas 2021-05-11 11:41:19 +03:00
commit 3670993fd7
1 changed files with 1 additions and 5 deletions

View File

@ -18,7 +18,6 @@ export default function AssetActions(): ReactElement {
const [isBalanceSufficient, setIsBalanceSufficient] = useState<boolean>()
const [dtBalance, setDtBalance] = useState<string>()
const isCompute = Boolean(ddo?.findServiceByType('compute'))
// Get and set user DT balance
@ -74,10 +73,7 @@ export default function AssetActions(): ReactElement {
}
]
// Check from metadata, cause that is available earlier
const hasPool = ddo?.price?.type === 'pool'
hasPool &&
price?.type === 'pool' &&
tabs.push(
{
title: 'Pool',