@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 +2 -4
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -133,12 +133,10 @@ var ImageControl = ({
|
|
|
133
133
|
"w-full h-full",
|
|
134
134
|
className
|
|
135
135
|
);
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
/* @__PURE__ */ jsx5("div", { className: imageClass, children: /* @__PURE__ */ jsx5("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
136
|
+
if (!imageUrl && !imageUrlExternal) {
|
|
137
|
+
return /* @__PURE__ */ jsx5("div", { className: imageClass, children: /* @__PURE__ */ jsx5("img", { src: image_placeholder_default, alt: altText, className: "opacity-50", width: 50, height: 50 }) });
|
|
139
138
|
}
|
|
140
139
|
const url = imageUrlExternal || imageUrl;
|
|
141
|
-
console.log(url);
|
|
142
140
|
return /* @__PURE__ */ jsx5("img", { src: url, alt: altText, className: defaultImgClass, style });
|
|
143
141
|
};
|
|
144
142
|
var Image_default = ImageControl;
|