Skip to content

Commit

Permalink
Recurring payments: adds isPrimary class to primary action b… (#14031)
Browse files Browse the repository at this point in the history
  • Loading branch information
keoshi authored and jeherve committed Nov 19, 2019
1 parent 62d6386 commit 0b415a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extensions/blocks/recurring-payments/edit.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class MembershipsButtonEdit extends Component {
if ( this.state.addingMembershipAmount === PRODUCT_NOT_ADDING && ! forceShowForm ) {
return (
<Button
isDefault
isPrimary
isLarge
onClick={ () => this.setState( { addingMembershipAmount: PRODUCT_FORM } ) }
>
Expand Down Expand Up @@ -265,7 +265,7 @@ class MembershipsButtonEdit extends Component {
/>
<div>
<Button
isDefault
isPrimary
isLarge
className="membership-button__field-button membership-button__add-amount"
onClick={ this.saveProduct }
Expand Down

0 comments on commit 0b415a8

Please sign in to comment.