@lumx/react 3.5.1-alpha.0 → 3.5.2
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/index.js +0 -1
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/src/components/thumbnail/useImageLoad.ts +0 -1
package/index.js
CHANGED
|
@@ -12267,7 +12267,6 @@ TextField.defaultProps = DEFAULT_PROPS$_;
|
|
|
12267
12267
|
function getState(img, event) {
|
|
12268
12268
|
// Error event occurred or image has no source.
|
|
12269
12269
|
if ((event === null || event === void 0 ? void 0 : event.type) === 'error' || img !== null && img !== void 0 && img.complete && !img.getAttribute('src')) {
|
|
12270
|
-
console.log('HAS ERROR');
|
|
12271
12270
|
return 'hasError';
|
|
12272
12271
|
}
|
|
12273
12272
|
// Image is undefined or incomplete.
|