hey-pharmacist-ecommerce 1.1.9 → 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,8 +8126,7 @@ function ShopScreen({ initialFilters = {}, categoryName }) {
8126
8126
  {
8127
8127
  product,
8128
8128
  onClickProduct: (item) => {
8129
- const productData = encodeURIComponent(JSON.stringify(item));
8130
- router.push(buildPath(`/products/${item.id}?product=${productData}`));
8129
+ router.push(buildPath(`/products/${item._id}`));
8131
8130
  }
8132
8131
  }
8133
8132
  )))) : /* @__PURE__ */ React21.createElement("div", { className: "space-y-4" }, displayedProducts.map((product) => {
@@ -8140,7 +8139,7 @@ function ShopScreen({ initialFilters = {}, categoryName }) {
8140
8139
  key: product.id,
8141
8140
  whileHover: { y: -4 },
8142
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",
8143
- onClick: () => router.push(buildPath(`/products/${product.id}`))
8142
+ onClick: () => router.push(buildPath(`/products/${product._id}`))
8144
8143
  },
8145
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(
8146
8145
  Image3,