react-pro-messenger 1.0.25 → 1.0.26

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.es.js CHANGED
@@ -6853,7 +6853,7 @@ const Gd = Ur, qd = ({
6853
6853
  {
6854
6854
  ref: A,
6855
6855
  className: `flex flex-col gap-2 flex-1 p-3 pb-16 ${p ? "overflow-hidden pr-[22px]" : "overflow-y-scroll"}`,
6856
- children: n ? /* @__PURE__ */ g.exports.jsx(ca, { className: "mt-3", size: 27, color: "text-gray-800" }) : /* @__PURE__ */ g.exports.jsx(ks, { children: s.map((z, oe) => {
6856
+ children: n ? /* @__PURE__ */ g.exports.jsx(ca, { className: "mt-3", size: 27, color: "text-gray-800" }) : /* @__PURE__ */ g.exports.jsx(ks, { children: s.length > 0 ? s.map((z, oe) => {
6857
6857
  var re, ye, _;
6858
6858
  const Te = z != null && z.attachment ? /* @__PURE__ */ g.exports.jsx(
6859
6859
  Sd,
@@ -6884,7 +6884,7 @@ const Gd = Ur, qd = ({
6884
6884
  },
6885
6885
  oe
6886
6886
  );
6887
- }) })
6887
+ }) : null })
6888
6888
  }
6889
6889
  ),
6890
6890
  /* @__PURE__ */ g.exports.jsx(