mirror of
https://github.com/oceanprotocol/react.git
synced 2025-02-14 21:10:38 +01:00
commit
47bc90f535
@ -1,15 +1,15 @@
|
|||||||
import { useState } from 'react'
|
import { DDO, Logger, Metadata } from '@oceanprotocol/lib'
|
||||||
import { DDO, Metadata, Logger } from '@oceanprotocol/lib'
|
|
||||||
import { useOcean } from '../../providers'
|
|
||||||
import ProviderStatus from '../../providers/OceanProvider/ProviderStatus'
|
|
||||||
import {
|
import {
|
||||||
Service,
|
Service,
|
||||||
ServiceComputePrivacy,
|
ServiceComputePrivacy,
|
||||||
ServiceType
|
ServiceType
|
||||||
} from '@oceanprotocol/lib/dist/node/ddo/interfaces/Service'
|
} from '@oceanprotocol/lib/dist/node/ddo/interfaces/Service'
|
||||||
import { PriceOptions } from './PriceOptions'
|
import { useState } from 'react'
|
||||||
import { publishFeedback } from '../../utils'
|
|
||||||
import { DataTokenOptions } from '.'
|
import { DataTokenOptions } from '.'
|
||||||
|
import { useOcean } from '../../providers'
|
||||||
|
import ProviderStatus from '../../providers/OceanProvider/ProviderStatus'
|
||||||
|
import { publishFeedback } from '../../utils'
|
||||||
|
import { PriceOptions } from './PriceOptions'
|
||||||
|
|
||||||
interface UsePublish {
|
interface UsePublish {
|
||||||
publish: (
|
publish: (
|
||||||
@ -175,6 +175,7 @@ function usePublish(): UsePublish {
|
|||||||
asset,
|
asset,
|
||||||
account,
|
account,
|
||||||
services,
|
services,
|
||||||
|
undefined,
|
||||||
dataTokenOptions?.cap,
|
dataTokenOptions?.cap,
|
||||||
dataTokenOptions?.name,
|
dataTokenOptions?.name,
|
||||||
dataTokenOptions?.symbol
|
dataTokenOptions?.symbol
|
||||||
|
Loading…
Reference in New Issue
Block a user