@ctlyst.id/internal-ui 5.4.10 → 5.4.12
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 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
@@ -6047,6 +6047,8 @@ var Uploader = ({
|
|
6047
6047
|
const onDropAccepted = useCallback4(
|
6048
6048
|
(files) => {
|
6049
6049
|
const file = files[0];
|
6050
|
+
setIsError(false);
|
6051
|
+
setErrorText(void 0);
|
6050
6052
|
if (acceptFileType && acceptFileType.includes(file.type)) {
|
6051
6053
|
setFilePreview(file.name);
|
6052
6054
|
onHandleUploadFile == null ? void 0 : onHandleUploadFile(file, null);
|