From 21dad4fda24be0ddf75fce9b32039971b7c9adb8 Mon Sep 17 00:00:00 2001 From: Bogdan Fazakas Date: Mon, 14 Mar 2022 16:38:31 +0200 Subject: [PATCH] update compute message logic --- src/components/@shared/ButtonBuy/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/@shared/ButtonBuy/index.tsx b/src/components/@shared/ButtonBuy/index.tsx index 39022cb9d..eb8c9ee82 100644 --- a/src/components/@shared/ButtonBuy/index.tsx +++ b/src/components/@shared/ButtonBuy/index.tsx @@ -88,10 +88,11 @@ function getComputeAssetHelpText( isBalanceSufficient, consumableFeedback ) + console.log('isAlgorithmConsumable', isAlgorithmConsumable) const computeAlgoHelpText = (!dtSymbolSelectedComputeAsset && !dtBalanceSelectedComputeAsset) || isConsumable === false || - isAlgorithmConsumable + isAlgorithmConsumable === false ? '' : // : algorithmConsumableStatus === 1 // ? 'The selected algorithm has been temporarily disabled by the publisher, please try again later.'