This commit is contained in:
Seghir Nadir 2020-03-16 14:15:35 +01:00 committed by GitHub
parent 361d924c11
commit 3e7a2d41e4
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ const TotalsCouponCodeInput = ( {
/> />
<Button <Button
className="wc-block-coupon-code__button" className="wc-block-coupon-code__button"
disabled={ isLoading } disabled={ isLoading || ! couponValue }
onClick={ ( e ) => { onClick={ ( e ) => {
e.preventDefault(); e.preventDefault();
onSubmit( couponValue ); onSubmit( couponValue );