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