disable purchase button while purchasing
This commit is contained in:
parent
217ddea79b
commit
17885eeccd
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ function ModalAffirmPurchase(props: Props) {
|
|||
<div className="section__actions" style={success ? { visibility: 'hidden' } : undefined}>
|
||||
<Button
|
||||
button="primary"
|
||||
label={purchasing ? __('Purchasing') : __('Purchase')}
|
||||
disabled={purchasing}
|
||||
label={purchasing ? __('Purchasing...') : __('Purchase')}
|
||||
onClick={onAffirmPurchase}
|
||||
/>
|
||||
<Button button="link" label={__('Cancel')} onClick={cancelPurchase} />
|
||||
|
|
Loading…
Reference in a new issue