optimized-react-component-library-xyz123 0.19.9 → 0.19.10

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.mjs CHANGED
@@ -914,6 +914,9 @@ var AddFiles = ({
914
914
  files: [...currentFiles, ...newFiles]
915
915
  }
916
916
  };
917
+ if (e.target.value === "0 files") {
918
+ e.target.value = "";
919
+ }
917
920
  handleQuestionInputChange(e, questionObject);
918
921
  setNumberOfFiles(currentFiles.length + newFiles.length);
919
922
  setNewFiles([]);