mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
small fix
This commit is contained in:
parent
d4570aa1cb
commit
404f4edca1
@ -1,14 +1,3 @@
|
|||||||
// import {
|
|
||||||
// ServiceComputePrivacy,
|
|
||||||
// publisherTrustedAlgorithm as PublisherTrustedAlgorithm,
|
|
||||||
// Service,
|
|
||||||
// LoggerInstance,
|
|
||||||
// Provider,
|
|
||||||
// Config,
|
|
||||||
// Ocean,
|
|
||||||
// Account
|
|
||||||
// } from '@oceanprotocol/lib'
|
|
||||||
// import { ComputeJob } from '@oceanprotocol/lib/dist/node/ocean/interfaces/Compute'
|
|
||||||
import {
|
import {
|
||||||
Asset,
|
Asset,
|
||||||
DDO,
|
DDO,
|
||||||
|
@ -78,7 +78,7 @@ export default function Compute({
|
|||||||
consumableFeedback?: string
|
consumableFeedback?: string
|
||||||
}): ReactElement {
|
}): ReactElement {
|
||||||
const { appConfig } = useSiteMetadata()
|
const { appConfig } = useSiteMetadata()
|
||||||
const { accountId } = useWeb3()
|
const { accountId, web3 } = useWeb3()
|
||||||
const [isJobStarting, setIsJobStarting] = useState(false)
|
const [isJobStarting, setIsJobStarting] = useState(false)
|
||||||
const [error, setError] = useState<string>()
|
const [error, setError] = useState<string>()
|
||||||
const newAbortController = useAbortController()
|
const newAbortController = useAbortController()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user