Skip to content

Commit 424fa3d

Browse files
authored
Merge pull request #231 from w3bdesign/development
Development
2 parents 2930f4a + 28fc6c2 commit 424fa3d

File tree

5 files changed

+4
-6
lines changed

5 files changed

+4
-6
lines changed

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nextjs-woocommerce",
3-
"version": "0.9.91",
3+
"version": "0.9.92",
44
"description": "Nextjs WooCommerce webshop",
55
"main": "index.js",
66
"scripts": {

utils/const/GQL_MUTATIONS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import gql from '@apollo/client';
1+
import {gql} from '@apollo/client';
22

33
export const ADD_TO_CART = gql`
44
mutation($input: AddToCartInput!) {

utils/const/GQL_QUERIES.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import gql from '@apollo/client';
1+
import {gql} from '@apollo/client';
22

33
export const GET_SINGLE_PRODUCT = gql`
44
query Product($id: ID!) {

utils/functions/functions.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,6 @@ export const getFormattedCart = (data) => {
195195

196196
const givenProducts = data.cart.contents.nodes;
197197

198-
console.log(givenProducts);
199-
200198
// Create an empty object.
201199
formattedCart = {};
202200
formattedCart.products = [];

0 commit comments

Comments
 (0)