@maycolem/stories 16.0.0 → 18.0.0

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.esm.js CHANGED
@@ -4805,13 +4805,13 @@ const Kd = "_BetSlip_hse67_1", Jd = "_BetSlip_Title_hse67_12", Qd = "_SelectionI
4805
4805
  e ? /* @__PURE__ */ S("div", { className: De.BetSlip_Title, children: e }) : null,
4806
4806
  (n = t == null ? void 0 : t.selections) == null ? void 0 : n.map((r, o) => /* @__PURE__ */ S(uv, { selection: r }, `${Date.now()}-${o}`))
4807
4807
  ] }),
4808
- /* @__PURE__ */ S("div", { className: qt(De.BetSlip_ButtonWrap), children: /* @__PURE__ */ S(
4808
+ t != null && t.cuotaTota ? /* @__PURE__ */ S("div", { className: qt(De.BetSlip_ButtonWrap), children: /* @__PURE__ */ S(
4809
4809
  Ra,
4810
4810
  {
4811
4811
  href: "https://www.apuestatotal.com/apuestas-deportivas/?reservationCode=HHHH",
4812
4812
  children: t == null ? void 0 : t.cuotaTotal
4813
4813
  }
4814
- ) })
4814
+ ) }) : null
4815
4815
  ] });
4816
4816
  }, Ma = ({ story: t }) => {
4817
4817
  let e = Go;
@@ -4824,13 +4824,13 @@ const Kd = "_BetSlip_hse67_1", Jd = "_BetSlip_Title_hse67_12", Qd = "_SelectionI
4824
4824
  ] }) }) }) : null
4825
4825
  ] }), pv = ({ story: t }) => {
4826
4826
  const e = JSON.parse((t == null ? void 0 : t.coupon_result) ?? "{}");
4827
- return console.log(e), /* @__PURE__ */ K("div", { className: qt(de.story), children: [
4827
+ return /* @__PURE__ */ K("div", { className: qt(de.story), children: [
4828
4828
  /* @__PURE__ */ S("img", { src: t == null ? void 0 : t.image, alt: "" }),
4829
4829
  /* @__PURE__ */ S("div", { className: de.BetSlip_Wrapper, children: /* @__PURE__ */ S(
4830
4830
  vv,
4831
4831
  {
4832
4832
  slip: Zd.fromRaw(e),
4833
- title: t == null ? void 0 : t.title
4833
+ title: t == null ? void 0 : t.coupon_title
4834
4834
  }
4835
4835
  ) })
4836
4836
  ] });