Skip to content

Commit 1c47377

Browse files
authored
Merge pull request #919 from w3bdesign/develop
Remove debug
2 parents 41fdc76 + c65f85e commit 1c47377

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

components/Cart/AddToCartButton.component.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,6 @@ const AddToCartButton = ({ product }) => {
5555
input: productQueryInput,
5656
},
5757
onCompleted: () => {
58-
console.log('Completed');
5958
// Update the cart with new values in React context.
6059
refetch();
6160
// If error.

components/Checkout/CheckoutForm.component.jsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,6 @@ const CheckoutForm = () => {
2828
// Update cart in the localStorage.
2929
const updatedCart = getFormattedCart(data);
3030
localStorage.setItem('woocommerce-cart', JSON.stringify(updatedCart));
31-
console.log(
32-
'setItem har blitt kalt med følgende data fra CheckoutForm: ',
33-
JSON.stringify(updatedCart)
34-
);
3531
// Update cart data in React Context.
3632
setCart(updatedCart);
3733
},

0 commit comments

Comments
 (0)