1
0
mirror of https://github.com/oceanprotocol/market.git synced 2024-12-02 05:57:29 +01:00

more comments removal

This commit is contained in:
Matthias Kretschmann 2022-06-22 15:16:28 +01:00
parent c0c709e7f5
commit 498f7604da
Signed by: m
GPG Key ID: 606EEEF3C479A91F

View File

@ -245,7 +245,6 @@ export default function Compute({
if (!asset?.accessDetails || !accountId) return
setIsConsumablePrice(asset?.accessDetails?.isPurchasable)
// setIsOwned(asset?.accessDetails?.isOwned)
setValidOrderTx(asset?.accessDetails?.validOrderTx)
}, [asset?.accessDetails])
@ -254,7 +253,6 @@ export default function Compute({
setIsRequestingAlgoOrderPrice(true)
setIsConsumablePrice(selectedAlgorithmAsset?.accessDetails?.isPurchasable)
// setIsAlgorithmOwned(selectedAlgorithmAsset?.accessDetails?.isOwned)
setValidAlgorithmOrderTx(
selectedAlgorithmAsset?.accessDetails?.validOrderTx
)
@ -292,7 +290,7 @@ export default function Compute({
async function startJob(): Promise<string> {
try {
setIsOrdering(true)
setIsOrdered(false) // would be nice to rename this
setIsOrdered(false)
setError(undefined)
const computeService = getServiceByName(asset, 'compute')
const computeAlgorithm: ComputeAlgorithm = {