fix submit button after confirming

This commit is contained in:
Sean Yesmunt 2020-06-15 10:11:29 -04:00
parent deb4107dd0
commit c3cdc742ab

View file

@ -179,7 +179,13 @@ function WalletSendTip(props: Props) {
</div>
</div>
<div className="section__actions">
<Button autoFocus button="primary" disabled={isPending} label={__('Confirm')} />
<Button
autoFocus
onClick={handleSubmit}
button="primary"
disabled={isPending}
label={__('Confirm')}
/>
<Button button="link" label={__('Cancel')} onClick={() => setIsConfirming(false)} />
</div>
</>