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.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -996,6 +996,9 @@ var AddFiles = ({
|
|
|
996
996
|
files: [...currentFiles, ...newFiles]
|
|
997
997
|
}
|
|
998
998
|
};
|
|
999
|
+
if (e.target.value === "0 files") {
|
|
1000
|
+
e.target.value = "";
|
|
1001
|
+
}
|
|
999
1002
|
handleQuestionInputChange(e, questionObject);
|
|
1000
1003
|
setNumberOfFiles(currentFiles.length + newFiles.length);
|
|
1001
1004
|
setNewFiles([]);
|