@tecsinapse/cortex-react 1.15.0-beta.19 → 1.15.0-beta.20

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.
@@ -64,7 +64,7 @@ const useFileUpload = ({
64
64
  []
65
65
  );
66
66
  const onDrop = async (acceptedFiles) => {
67
- if (acceptedFiles.length > 0) return;
67
+ if (acceptedFiles.length < 1) return;
68
68
  if (hasManager) {
69
69
  openManager();
70
70
  onClose();
@@ -62,7 +62,7 @@ const useFileUpload = ({
62
62
  []
63
63
  );
64
64
  const onDrop = async (acceptedFiles) => {
65
- if (acceptedFiles.length > 0) return;
65
+ if (acceptedFiles.length < 1) return;
66
66
  if (hasManager) {
67
67
  openManager();
68
68
  onClose();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tecsinapse/cortex-react",
3
- "version": "1.15.0-beta.19",
3
+ "version": "1.15.0-beta.20",
4
4
  "description": "React components based in @tecsinapse/cortex-core",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
@@ -48,5 +48,5 @@
48
48
  "react-icons": ">=5.2.0",
49
49
  "tailwind": ">=3.3.0"
50
50
  },
51
- "gitHead": "44ba1e1be5a8107d47c379d08f0dbbc0643b1cb9"
51
+ "gitHead": "dea8da76ae8e25e52a4f076c153a727ea82330b6"
52
52
  }