mirror of
https://github.com/oceanprotocol/commons.git
synced 2023-03-15 18:03:00 +01:00
asset details fix
This commit is contained in:
parent
a6b0ca4be6
commit
5015d26cea
@ -40,8 +40,6 @@ export default function AssetDetails({
|
|||||||
}: AssetDetailsProps) {
|
}: AssetDetailsProps) {
|
||||||
const { main, additionalInformation } = metadata
|
const { main, additionalInformation } = metadata
|
||||||
const price = main.price && Web3.utils.fromWei(main.price.toString())
|
const price = main.price && Web3.utils.fromWei(main.price.toString())
|
||||||
if (!ddo) return
|
|
||||||
console.log(ddo)
|
|
||||||
const isCompute = !!ddo.findServiceByType('compute')
|
const isCompute = !!ddo.findServiceByType('compute')
|
||||||
const isAccess = !!ddo.findServiceByType('access')
|
const isAccess = !!ddo.findServiceByType('access')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user