mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
compute creation feedback fix
This commit is contained in:
parent
ce6872d0bd
commit
0b99155923
@ -128,17 +128,20 @@ export default function Compute({
|
||||
<Dropzone multiple={false} handleOnDrop={onDrop} />
|
||||
|
||||
<div className={styles.actions}>
|
||||
<Button
|
||||
style="primary"
|
||||
onClick={() => startJob()}
|
||||
disabled={isComputeButtonDisabled}
|
||||
>
|
||||
{hasDatatoken ? 'Start job' : 'Buy'}
|
||||
</Button>
|
||||
{isLoading ? (
|
||||
<Loader message={computeStepText} />
|
||||
) : (
|
||||
<Button
|
||||
style="primary"
|
||||
onClick={() => startJob()}
|
||||
disabled={isComputeButtonDisabled}
|
||||
>
|
||||
{hasDatatoken ? 'Start job' : 'Buy'}
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<footer className={styles.feedback}>
|
||||
{isLoading && <Loader message={computeStepText} />}
|
||||
{computeError !== undefined && (
|
||||
<Alert text={computeError} state="error" />
|
||||
)}
|
||||
|
Loading…
Reference in New Issue
Block a user