Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Cleanup
Patryk Zawadzkic0474a740485
diff --git a/saleor/static/js/components/cart.js b/saleor/static/js/components/cart.jsindex 6877637b10..082f4f859a 100644--- a/saleor/static/js/components/cart.js+++ b/saleor/static/js/components/cart.js@@ -220,7 +220,7 @@ class CartItemAmountSelect extends Component {const selectQuantities = (state) => ({}) // FIXME: move quantities to store-export var CartItemAmount = connect(selectQuantities)(CartItemAmountSelect);+export const CartItemAmount = connect(selectQuantities)(CartItemAmountSelect);const renderSubtotal = ({productId, subtotals}) => {let value;@@ -234,7 +234,7 @@ const selectSubtotals = (state) => ({subtotals: state.subtotals})-export var CartItemSubtotal = connect(selectSubtotals)(renderSubtotal)+export const CartItemSubtotal = connect(selectSubtotals)(renderSubtotal)const renderTotal = ({value}) => <b>{value}</b>@@ -242,4 +242,4 @@ const selectTotal = (state) => ({value: state.total})-export var CartTotal = connect(selectTotal)(renderTotal)+export const CartTotal = connect(selectTotal)(renderTotal)diff --git a/saleor/static/js/storefront.js b/saleor/static/js/storefront.jsindex 0ca0e60b9e..c7e151399b 100644--- a/saleor/static/js/storefront.js+++ b/saleor/static/js/storefront.js@@ -6,7 +6,6 @@ import 'jquery.cookie'import '../scss/storefront.scss'-let options = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]let csrftoken = $.cookie('csrftoken')function csrfSafeMethod(method) {