MCPcopy Create free account
hub / github.com/basir/node-react-ecommerce / saveShipping

Function saveShipping

frontend/src/actions/cartActions.js:31–33  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

29 Cookie.set("cartItems", JSON.stringify(cartItems));
30}
31const saveShipping = (data) => (dispatch) => {
32 dispatch({ type: CART_SAVE_SHIPPING, payload: data });
33}
34const savePayment = (data) => (dispatch) => {
35 dispatch({ type: CART_SAVE_PAYMENT, payload: data });
36}

Callers 1

submitHandlerFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected