Skip to content

Commit

Permalink
fix: remove template literals
Browse files Browse the repository at this point in the history
Signed-off-by: Haris Spahija <haris.spahija@pon.com>
  • Loading branch information
HarisSpahijaPon committed Nov 27, 2019
1 parent 7e45ee8 commit 4b0921b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package/src/components/CheckoutActions/v1/CheckoutActions.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class CheckoutActions extends Component {
cancelButtonText: "Cancel",
isNotSavingButtonText: "Place your order",
isSavingButtonText: "Placing your order...",
saveButtonText: "Save and continue",
saveButtonText: "Save and continue"
};

static getDerivedStateFromProps(props, state) {
Expand Down Expand Up @@ -281,7 +281,7 @@ class CheckoutActions extends Component {
const placeOrderButton = (
<PlaceOrderButtonContainer>
<Button onClick={() => this.actionSubmit(action.id)} actionType="important" isWaiting={isSaving} isFullWidth>
{isSaving ? `${isSavingButtonText}` : `${isNotSavingButtonText}`}
{isSaving ? isSavingButtonText : isNotSavingButtonText}
</Button>
</PlaceOrderButtonContainer>
);
Expand Down

0 comments on commit 4b0921b

Please sign in to comment.