@apexcura/ui-components 0.0.15-Beta4 → 0.0.15-Beta5
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 +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -417,7 +417,7 @@ var ButtonElement = (props) => {
|
|
|
417
417
|
}
|
|
418
418
|
}).catch((error) => console.error("Error fetching SVG:", error));
|
|
419
419
|
}
|
|
420
|
-
}, [props.className]);
|
|
420
|
+
}, [props.icon, props.className]);
|
|
421
421
|
const handleMouseEnter = () => {
|
|
422
422
|
if (hoverColor && originalSvgContent) {
|
|
423
423
|
const tempDiv = document.createElement("div");
|
package/dist/index.mjs
CHANGED
|
@@ -356,7 +356,7 @@ var ButtonElement = (props) => {
|
|
|
356
356
|
}
|
|
357
357
|
}).catch((error) => console.error("Error fetching SVG:", error));
|
|
358
358
|
}
|
|
359
|
-
}, [props.className]);
|
|
359
|
+
}, [props.icon, props.className]);
|
|
360
360
|
const handleMouseEnter = () => {
|
|
361
361
|
if (hoverColor && originalSvgContent) {
|
|
362
362
|
const tempDiv = document.createElement("div");
|