Skip to content

Commit 6fcd27d

Browse files
committed
Fix gql was not default import
1 parent 99c6863 commit 6fcd27d

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
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!) {

0 commit comments

Comments
 (0)