Skip to content

Commit 466783f

Browse files
committed
Remove console.log
1 parent 571de12 commit 466783f

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

utils/functions/functions.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -185,10 +185,6 @@ export const removeItemFromCart = (productId) => {
185185
* @param {String} data Cart data
186186
*/
187187
export const getFormattedCart = (data) => {
188-
console.log('Data from formatted cart before any processing: ');
189-
console.log(data);
190-
191-
192188
let formattedCart = null;
193189

194190
if (undefined === data || !data.cart.contents.nodes.length) {
@@ -228,9 +224,6 @@ export const getFormattedCart = (data) => {
228224
formattedCart.totalProductsCount = totalProductsCount;
229225
formattedCart.totalProductsPrice = data.cart.total;
230226

231-
console.log('Before end formattedCart: ');
232-
console.log(formattedCart);
233-
234227
return formattedCart;
235228
};
236229

0 commit comments

Comments
 (0)