@ctlyst.id/internal-ui 5.4.1 → 5.4.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/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -6222,6 +6222,10 @@ var Uploader = ({
|
|
6222
6222
|
if (typeof value === "string") {
|
6223
6223
|
setFilePreview(value);
|
6224
6224
|
} else {
|
6225
|
+
if (value.type === "image/heic") {
|
6226
|
+
setFilePreview(value.name);
|
6227
|
+
return;
|
6228
|
+
}
|
6225
6229
|
setFilePreview(URL.createObjectURL(value));
|
6226
6230
|
}
|
6227
6231
|
} else {
|