Skip to content

Commit 0164d79

Browse files
Use ApiVersion from @shopify/shopify-app-react-router rather than from @shopify/shopify-api
The template does not have @shopify/shopify-api in it's package.json, so whilst the old way worked because @shopify/shopify-app-react-router depends on @shopify/shopify-api, the approach was not ideal
1 parent 139b312 commit 0164d79

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.graphqlrc.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import fs from "fs";
2-
import { ApiVersion } from "@shopify/shopify-api";
2+
import { ApiVersion } from "@shopify/shopify-app-react-router/server";
33
import { shopifyApiProject, ApiType } from "@shopify/api-codegen-preset";
44
import type { IGraphQLConfig } from "graphql-config";
55

0 commit comments

Comments
 (0)