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

Merge branch 'main' into fix/addLiquidityEstimates

This commit is contained in:
mihaisc 2020-10-26 21:05:21 +02:00
commit 9973ba09b3
No known key found for this signature in database
GPG Key ID: 4FB0C2329B4C6E29

View File

@ -144,13 +144,14 @@ export default function Compute({
{isLoading ? ( {isLoading ? (
<Loader message={computeStepText} /> <Loader message={computeStepText} />
) : ( ) : (
<Button <Alert text="Compute is coming back at a later stage." state="info" />
style="primary" // <Button
onClick={() => startJob()} // style="primary"
disabled={isComputeButtonDisabled} // onClick={() => startJob()}
> // disabled={isComputeButtonDisabled}
{hasDatatoken || hasPreviousOrder ? 'Start job' : 'Buy'} // >
</Button> // {hasDatatoken || hasPreviousOrder ? 'Start job' : 'Buy'}
// </Button>
)} )}
</div> </div>