@algorithm-shift/design-system 1.2.191 → 1.2.201

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.js CHANGED
@@ -200,11 +200,11 @@ var ImageControl = ({
200
200
  "w-full h-full",
201
201
  className
202
202
  );
203
- console.log(imageUrl, imageUrlExternal);
204
- if (!imageUrl && !imageUrlExternal) {
203
+ console.log(!!(imageUrl && imageUrlExternal));
204
+ if (!!(imageUrl && imageUrlExternal)) {
205
205
  /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("div", { className: imageClass, children: /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
206
206
  }
207
- const url = imageUrlExternal || imageUrl || "";
207
+ const url = imageUrlExternal || imageUrl;
208
208
  console.log(url);
209
209
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: url, alt: altText, className: defaultImgClass, style });
210
210
  };