@ahmadmubarak98/namozaj 1.8.11 → 1.8.12

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.
Files changed (2) hide show
  1. package/dist/namozaj.js +3 -3
  2. package/package.json +1 -1
package/dist/namozaj.js CHANGED
@@ -50734,11 +50734,11 @@ const FileField = ({
50734
50734
  Me.target.files || []
50735
50735
  );
50736
50736
  if (Me.target.value = "", G)
50737
- return je(qe) ? G == null ? void 0 : G(
50737
+ return (je(qe) || []).length === 0 || G == null ? void 0 : G(
50738
50738
  qe,
50739
50739
  Z,
50740
50740
  (De) => Ve(De)
50741
- ) : void 0;
50741
+ );
50742
50742
  Ve(qe);
50743
50743
  },
50744
50744
  [Z]
@@ -50759,7 +50759,7 @@ const FileField = ({
50759
50759
  Y(!0);
50760
50760
  try {
50761
50761
  let De = Me;
50762
- if (!qe && (De = je(Me), !De))
50762
+ if (!qe && (De = je(Me), (De || []).length === 0))
50763
50763
  return;
50764
50764
  if (N && typeof N == "function") {
50765
50765
  const Je = De.map(async (n0) => ({
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.8.11",
4
+ "version": "1.8.12",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",