1
0
mirror of https://github.com/oceanprotocol/react.git synced 2024-12-23 09:43:38 +01:00

fix publish

This commit is contained in:
Matthias Kretschmann 2020-09-29 15:47:36 +02:00
parent c2d4ce7c4d
commit dd29599133
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -1,15 +1,15 @@
import { useState } from 'react'
import { DDO, Metadata, Logger } from '@oceanprotocol/lib'
import { useOcean } from '../../providers'
import ProviderStatus from '../../providers/OceanProvider/ProviderStatus'
import { DDO, Logger, Metadata } from '@oceanprotocol/lib'
import {
Service,
ServiceComputePrivacy,
ServiceType
} from '@oceanprotocol/lib/dist/node/ddo/interfaces/Service'
import { PriceOptions } from './PriceOptions'
import { publishFeedback } from '../../utils'
import { useState } from 'react'
import { DataTokenOptions } from '.'
import { useOcean } from '../../providers'
import ProviderStatus from '../../providers/OceanProvider/ProviderStatus'
import { publishFeedback } from '../../utils'
import { PriceOptions } from './PriceOptions'
interface UsePublish {
publish: (
@ -175,6 +175,7 @@ function usePublish(): UsePublish {
asset,
account,
services,
undefined,
dataTokenOptions?.cap,
dataTokenOptions?.name,
dataTokenOptions?.symbol