@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.js
CHANGED
@@ -6184,6 +6184,8 @@ var Uploader = ({
|
|
6184
6184
|
const onDropAccepted = (0, import_react94.useCallback)(
|
6185
6185
|
(files) => {
|
6186
6186
|
const file = files[0];
|
6187
|
+
setIsError(false);
|
6188
|
+
setErrorText(void 0);
|
6187
6189
|
if (acceptFileType && acceptFileType.includes(file.type)) {
|
6188
6190
|
setFilePreview(file.name);
|
6189
6191
|
onHandleUploadFile == null ? void 0 : onHandleUploadFile(file, null);
|