@cashub/ui 0.44.0 → 0.44.1

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.
@@ -152,9 +152,7 @@ const FileDropzone = _ref => {
152
152
  if (onUploading) {
153
153
  try {
154
154
  await onUploading(file, file.name, index);
155
- setSuccessCount(previous => {
156
- return previous + 1;
157
- });
155
+ setSuccessCount(1);
158
156
  } catch (error) {
159
157
  setHasFail(true);
160
158
  setFailUploadIndexes(previous => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cashub/ui",
3
- "version": "0.44.0",
3
+ "version": "0.44.1",
4
4
  "private": false,
5
5
  "author": "CasHUB Team",
6
6
  "description": "CasHUB UI components library",