@algorithm-shift/design-system 1.2.201 → 1.2.202

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,12 +200,10 @@ var ImageControl = ({
200
200
  "w-full h-full",
201
201
  className
202
202
  );
203
- console.log(!!(imageUrl && imageUrlExternal));
204
- if (!!(imageUrl && imageUrlExternal)) {
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 }) });
203
+ if (!imageUrl && !imageUrlExternal) {
204
+ return /* @__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
205
  }
207
206
  const url = imageUrlExternal || imageUrl;
208
- console.log(url);
209
207
  return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("img", { src: url, alt: altText, className: defaultImgClass, style });
210
208
  };
211
209
  var Image_default = ImageControl;