From 498f7604dadcefe22a9bdefb546f53c6dd602c5e Mon Sep 17 00:00:00 2001 From: Matthias Kretschmann Date: Wed, 22 Jun 2022 15:16:28 +0100 Subject: [PATCH] more comments removal --- src/components/Asset/AssetActions/Compute/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Asset/AssetActions/Compute/index.tsx b/src/components/Asset/AssetActions/Compute/index.tsx index 2f92e358b..8fe0ad791 100644 --- a/src/components/Asset/AssetActions/Compute/index.tsx +++ b/src/components/Asset/AssetActions/Compute/index.tsx @@ -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 { try { setIsOrdering(true) - setIsOrdered(false) // would be nice to rename this + setIsOrdered(false) setError(undefined) const computeService = getServiceByName(asset, 'compute') const computeAlgorithm: ComputeAlgorithm = {