From b95a56c8afcf74dffed44221a5988d0106ba8bb1 Mon Sep 17 00:00:00 2001 From: Amine Date: Fri, 18 Oct 2024 09:41:16 +0100 Subject: [PATCH] fix product sync --- backend/src/modules/sanity/service.ts | 2 +- storefront/components/shared/input-combobox.tsx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/src/modules/sanity/service.ts b/backend/src/modules/sanity/service.ts index 661ef06..a82233f 100644 --- a/backend/src/modules/sanity/service.ts +++ b/backend/src/modules/sanity/service.ts @@ -153,7 +153,7 @@ export default class SanityModuleService { return { set: { internalTitle: product.title, - pathname: { _type: "slug", current: "/product/" + product.handle }, + pathname: { _type: "slug", current: "/products/" + product.handle }, }, }; }; diff --git a/storefront/components/shared/input-combobox.tsx b/storefront/components/shared/input-combobox.tsx index 0fd24bf..e33d228 100644 --- a/storefront/components/shared/input-combobox.tsx +++ b/storefront/components/shared/input-combobox.tsx @@ -103,6 +103,7 @@ export default forwardRef< />