Skip to content

Commit

Permalink
fix: remove trailing comma from CartSummary
Browse files Browse the repository at this point in the history
Signed-off-by: Spencer Norman <spencern@gmail.com>
  • Loading branch information
spencern committed Nov 26, 2019
1 parent 2ae1318 commit c27fff9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions package/src/components/CartSummary/v1/CartSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,14 @@ class CartSummary extends Component {
* The text for the "Items" label text.
*/
itemLabelText: PropTypes.string,
/**
* The text for the "items" header text.
*/
itemsText: PropTypes.string,
/**
* Quantity of products in shopping cart
*/
itemsQuantity: PropTypes.number,
/**
* The text for the "items" header text.
*/
itemsText: PropTypes.string,
/**
* The text for the "Order total" label text.
*/
Expand All @@ -168,7 +168,7 @@ class CartSummary extends Component {
/**
* The text for the "Tax" label text.
*/
taxLabelText: PropTypes.string,
taxLabelText: PropTypes.string
}

static defaultProps = {
Expand All @@ -180,7 +180,7 @@ class CartSummary extends Component {
promoCodeText: "Promo code applied",
shippingLabelText: "Shipping",
surchargesLabelText: "Surcharges",
taxLabelText: "Tax",
taxLabelText: "Tax"
}

renderHeader() {
Expand Down Expand Up @@ -228,7 +228,7 @@ class CartSummary extends Component {
orderTotalLabelText,
shippingLabelText,
surchargesLabelText,
taxLabelText,
taxLabelText
} = this.props;

// Use "-" to indicate we are still calculating this field.
Expand Down

0 comments on commit c27fff9

Please sign in to comment.