diff --git a/app/components/product-form/variants.tsx b/app/components/product-form/variants.tsx index 51a2db2c..27c5843b 100644 --- a/app/components/product-form/variants.tsx +++ b/app/components/product-form/variants.tsx @@ -6,6 +6,7 @@ import type { } from 'storefrontapi.generated'; import {VariantOption} from './options'; +import {node} from 'prop-types'; interface ProductVariantsProps { selectedVariant: ProductVariantFragmentFragment; diff --git a/app/lib/const.ts b/app/lib/const.ts index 1e0f43ca..c0bdf22b 100644 --- a/app/lib/const.ts +++ b/app/lib/const.ts @@ -1,4 +1,4 @@ -export const PAGINATION_SIZE = 8; +export const PAGINATION_SIZE = 16; export const DEFAULT_GRID_IMG_LOAD_EAGER_COUNT = 4; export const ATTR_LOADING_EAGER = 'eager'; diff --git a/app/routes/($locale).collections._index.tsx b/app/routes/($locale).collections._index.tsx index 8fed4565..07749dd8 100644 --- a/app/routes/($locale).collections._index.tsx +++ b/app/routes/($locale).collections._index.tsx @@ -8,8 +8,7 @@ import {routeHeaders} from '~/data/cache'; import {COLLECTIONS_QUERY} from '~/data/queries'; import {seoPayload} from '~/lib/seo.server'; import {WeaverseContent} from '~/weaverse'; - -const PAGINATION_SIZE = 4; +import {PAGINATION_SIZE} from '~/lib/const'; export const headers = routeHeaders; diff --git a/app/weaverse/create-weaverse.server.ts b/app/weaverse/create-weaverse.server.ts index 21e73bbd..26988a36 100644 --- a/app/weaverse/create-weaverse.server.ts +++ b/app/weaverse/create-weaverse.server.ts @@ -31,6 +31,7 @@ export function getWeaverseCsp(request: Request) { '*.vimeo.com', '*.google.com', '*.google-analytics.com', + '*.googletagmanager.com', 'fonts.gstatic.com', ...weaverseHosts, ],