Skip to content

Commit

Permalink
fix: proper deconstructing from removeText and totalText
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 21, 2019
1 parent 87b788d commit 7889739
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package/src/components/CartItem/v1/CartItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,9 @@ class CartItem extends Component {
isLowQuantity,
price: { displayAmount: displayPrice },
subtotal,
removeText
}
},
removeText,
totalText
} = this.props;

const { displayAmount: displaySubtotal } = subtotal || {};
Expand Down

0 comments on commit 7889739

Please sign in to comment.