hey-pharmacist-ecommerce 1.1.10 → 1.1.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -8126,7 +8126,7 @@ function ShopScreen({ initialFilters = {}, categoryName }) {
8126
8126
  {
8127
8127
  product,
8128
8128
  onClickProduct: (item) => {
8129
- router.push(buildPath(`/products/${item.id}`));
8129
+ router.push(buildPath(`/products/${item._id}`));
8130
8130
  }
8131
8131
  }
8132
8132
  )))) : /* @__PURE__ */ React21.createElement("div", { className: "space-y-4" }, displayedProducts.map((product) => {
@@ -8139,7 +8139,7 @@ function ShopScreen({ initialFilters = {}, categoryName }) {
8139
8139
  key: product.id,
8140
8140
  whileHover: { y: -4 },
8141
8141
  className: "group flex cursor-pointer flex-col gap-6 rounded-2xl border border-gray-100 bg-white p-5 shadow-sm transition hover:shadow-xl md:flex-row md:items-start",
8142
- onClick: () => router.push(buildPath(`/products/${product.id}`))
8142
+ onClick: () => router.push(buildPath(`/products/${product._id}`))
8143
8143
  },
8144
8144
  /* @__PURE__ */ React21.createElement("div", { className: "relative h-48 w-full overflow-hidden rounded-2xl bg-gray-100 md:h-40 md:w-40" }, /* @__PURE__ */ React21.createElement(
8145
8145
  Image3,