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