bridge_ui: Show checkmark on step 4 when complete
This commit is contained in:
parent
5e4f47d501
commit
48fa0b783e
|
@ -72,10 +72,10 @@ function NFT() {
|
||||||
{activeStep === 2 ? <Send /> : <SendPreview />}
|
{activeStep === 2 ? <Send /> : <SendPreview />}
|
||||||
</StepContent>
|
</StepContent>
|
||||||
</Step>
|
</Step>
|
||||||
<Step expanded={activeStep >= 3}>
|
<Step expanded={activeStep >= 3} completed={isRedeemComplete}>
|
||||||
<StepButton
|
<StepButton
|
||||||
onClick={() => dispatch(setStep(3))}
|
onClick={() => dispatch(setStep(3))}
|
||||||
disabled={!isSendComplete}
|
disabled={!isSendComplete || isRedeemComplete}
|
||||||
>
|
>
|
||||||
Redeem NFT
|
Redeem NFT
|
||||||
</StepButton>
|
</StepButton>
|
||||||
|
|
|
@ -77,10 +77,10 @@ function Transfer() {
|
||||||
{activeStep === 2 ? <Send /> : <SendPreview />}
|
{activeStep === 2 ? <Send /> : <SendPreview />}
|
||||||
</StepContent>
|
</StepContent>
|
||||||
</Step>
|
</Step>
|
||||||
<Step expanded={activeStep >= 3}>
|
<Step expanded={activeStep >= 3} completed={isRedeemComplete}>
|
||||||
<StepButton
|
<StepButton
|
||||||
onClick={() => dispatch(setStep(3))}
|
onClick={() => dispatch(setStep(3))}
|
||||||
disabled={!isSendComplete}
|
disabled={!isSendComplete || isRedeemComplete}
|
||||||
>
|
>
|
||||||
Redeem tokens
|
Redeem tokens
|
||||||
</StepButton>
|
</StepButton>
|
||||||
|
|
Loading…
Reference in New Issue