diff --git a/src/components/OrderCardFulfillmentGroup/OrderCardFulfillmentGroup.js b/src/components/OrderCardFulfillmentGroup/OrderCardFulfillmentGroup.js
index 16271748dc..4567cee318 100644
--- a/src/components/OrderCardFulfillmentGroup/OrderCardFulfillmentGroup.js
+++ b/src/components/OrderCardFulfillmentGroup/OrderCardFulfillmentGroup.js
@@ -49,9 +49,9 @@ class OrderCardFulfillmentGroup extends Component {
static defaultProps = {
hasMoreCartItems: false,
- loadMoreCartItems() {},
- onChangeCartItemsQuantity() {},
- onRemoveCartItems() {}
+ loadMoreCartItems() { },
+ onChangeCartItemsQuantity() { },
+ onRemoveCartItems() { }
}
handleItemQuantityChange = (quantity, cartItemId) => {
@@ -103,7 +103,7 @@ class OrderCardFulfillmentGroup extends Component {
spacing={24}
>
- Shipment {currentGroupCount} of {totalGroupsCount}
+ Shipment {currentGroupCount} of {totalGroupsCount}
{fulfillmentGroup.tracking ?
diff --git a/src/components/OrderCardHeader/OrderCardHeader.js b/src/components/OrderCardHeader/OrderCardHeader.js
index 995a685474..67b892bd9d 100644
--- a/src/components/OrderCardHeader/OrderCardHeader.js
+++ b/src/components/OrderCardHeader/OrderCardHeader.js
@@ -83,18 +83,18 @@ class OrderCardHeader extends Component {
// If more than one payment method, display amount for each
if (Array.isArray(payments) && payments.length > 1) {
- return payments.map((payment) => {payment.displayName} {payment.amount.displayAmount});
+ return payments.map((payment, index) => {payment.displayName} {payment.amount.displayAmount});
}
// If only one payment method, do not display amount
- return payments.map((payment) => {payment.displayName});
+ return payments.map((payment, index) => {payment.displayName});
}
renderOrderShipments() {
const { order: { fulfillmentGroups } } = this.props;
if (Array.isArray(fulfillmentGroups) && fulfillmentGroups.length) {
- return fulfillmentGroups.map((fulfillmentGroup) => {fulfillmentGroup.selectedFulfillmentOption.fulfillmentMethod.carrier} - {fulfillmentGroup.selectedFulfillmentOption.fulfillmentMethod.displayName}); // eslint-disable-line
+ return fulfillmentGroups.map((fulfillmentGroup, index) => {fulfillmentGroup.selectedFulfillmentOption.fulfillmentMethod.carrier} - {fulfillmentGroup.selectedFulfillmentOption.fulfillmentMethod.displayName}); // eslint-disable-line
}
return null;
@@ -167,7 +167,7 @@ class OrderCardHeader extends Component {
- : null }
+ : null}
);
}
diff --git a/src/components/ProfileAddressBook/ProfileAddressBook.js b/src/components/ProfileAddressBook/ProfileAddressBook.js
index efb299d06d..c9774f6aed 100644
--- a/src/components/ProfileAddressBook/ProfileAddressBook.js
+++ b/src/components/ProfileAddressBook/ProfileAddressBook.js
@@ -68,7 +68,7 @@ class ProfileAddressBook extends Component {
return (
- Address Book
+ Address Book
{this.renderAddressBook()}
diff --git a/src/components/ProfileOrders/ProfileOrders.js b/src/components/ProfileOrders/ProfileOrders.js
index b68c3f27fa..197c4bd4a6 100644
--- a/src/components/ProfileOrders/ProfileOrders.js
+++ b/src/components/ProfileOrders/ProfileOrders.js
@@ -136,7 +136,7 @@ class ProfileOrders extends Component {
return (
- Orders
+ Orders
{this.renderOrderTypeSelect()}
diff --git a/src/pages/checkoutComplete.js b/src/pages/checkoutComplete.js
index d3cdc50b9f..4d1245cac2 100644
--- a/src/pages/checkoutComplete.js
+++ b/src/pages/checkoutComplete.js
@@ -63,7 +63,7 @@ class CheckoutComplete extends Component {
{/* MUI grid doesn't have an offset. Use blank grid item instead. */}
- Thank you for your order
+ Thank you for your order
{"Your order ID is:"} {order.referenceId}