kamotive_ui 1.2.17 → 1.2.19

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.
@@ -127,6 +127,11 @@ export const FileLoader = ({ maxFileSize = 2, maxFileCount = 10, acceptedFormats
127
127
  }
128
128
  return formats.join(', ');
129
129
  };
130
+ useEffect(() => {
131
+ if (addedFiles.length === 0) {
132
+ setAddedFilesFormatted([]);
133
+ }
134
+ }, [addedFiles]);
130
135
  useEffect(() => {
131
136
  if (loadingFilesNames.length === 0 && isLoadingFiles) {
132
137
  setIsLoadingFiles(false);
@@ -19,7 +19,6 @@
19
19
  border: 1px dashed var(--blue-main);
20
20
  border-radius: 15px;
21
21
  cursor: pointer;
22
- margin-right: 10px;
23
22
  }
24
23
 
25
24
  .dropzone:hover {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kamotive_ui",
3
- "version": "1.2.17",
3
+ "version": "1.2.19",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [