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

Merge pull request #886 from oceanprotocol/fix/consume-condition

Fix isDisable condition on consume button
This commit is contained in:
Bogdan Fazakas 2021-09-29 12:13:38 +03:00 committed by GitHub
commit 6378b90a77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -124,7 +124,6 @@ export default function Consume({
!isAssetNetwork ||
typeof consumeStepText !== 'undefined' ||
pricingIsLoading ||
(!hasPreviousOrder && !hasDatatoken) ||
!isConsumablePrice) &&
!hasPreviousOrder &&
!hasDatatoken)