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 />}
|
||||
</StepContent>
|
||||
</Step>
|
||||
<Step expanded={activeStep >= 3}>
|
||||
<Step expanded={activeStep >= 3} completed={isRedeemComplete}>
|
||||
<StepButton
|
||||
onClick={() => dispatch(setStep(3))}
|
||||
disabled={!isSendComplete}
|
||||
disabled={!isSendComplete || isRedeemComplete}
|
||||
>
|
||||
Redeem NFT
|
||||
</StepButton>
|
||||
|
|
|
@ -77,10 +77,10 @@ function Transfer() {
|
|||
{activeStep === 2 ? <Send /> : <SendPreview />}
|
||||
</StepContent>
|
||||
</Step>
|
||||
<Step expanded={activeStep >= 3}>
|
||||
<Step expanded={activeStep >= 3} completed={isRedeemComplete}>
|
||||
<StepButton
|
||||
onClick={() => dispatch(setStep(3))}
|
||||
disabled={!isSendComplete}
|
||||
disabled={!isSendComplete || isRedeemComplete}
|
||||
>
|
||||
Redeem tokens
|
||||
</StepButton>
|
||||
|
|
Loading…
Reference in New Issue