Skip to content

Commit 51e4ffd

Browse files
authored
Merge pull request #131 from gadget-inc/fixingMissingTypeImport
Fixing the type imports for JSONValue
2 parents bfa60e3 + fb911a0 commit 51e4ffd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

shopify/customized-bundle-template/web/components/BundleCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { useNavigate } from "react-router-dom";
2121
import { ShopContext } from "../providers";
2222
import type { ShopContextType } from "../providers/ShopProvider";
2323
import type { Tone } from "@shopify/polaris/build/ts/src/components/Badge";
24-
import { JSONValue } from "@gadget-client/customized-bundle-template";
24+
import type { JSONValue } from "@gadget-client/customized-bundle-template";
2525

2626
type Status = "active" | "archived" | "draft";
2727

shopify/customized-bundle-template/web/components/BundleForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { ShopContext } from "../providers";
2121
import { useAppBridge } from "@shopify/app-bridge-react";
2222
import ProductCard from "./ProductCard";
2323
import type { ShopContextType } from "../providers/ShopProvider";
24-
import { JSONValue } from "@gadget-client/customized-bundle-template";
24+
import type { JSONValue } from "@gadget-client/customized-bundle-template";
2525

2626
export type Variant = {
2727
availableForSale?: boolean;

shopify/wishlist-template/extensions/wishlists/src/components/WishlistItemCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import { api } from "../api";
1515
import { useAction } from "@gadgetinc/react";
1616
import { useCallback, useContext } from "react";
1717
import { ShopContext } from "../providers";
18-
import {
18+
import type {
1919
JSONValue,
2020
ShopifyProductStatusEnum,
2121
} from "@gadget-client/wishlist-template";

0 commit comments

Comments
 (0)