@majapisoftwares/ui 4.3.4 → 4.3.5

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.
@@ -19,7 +19,7 @@ function MultiSelectInput({ options, value, onChange, emptyLabel = "None", ref,
19
19
  if (onValueChange) {
20
20
  onValueChange(innerValue || []);
21
21
  }
22
- }, [innerValue || {}]);
22
+ }, [{ innerValue }]);
23
23
  emptyClassName = isEmpty
24
24
  ? clsx("text-zinc-500 dark:text-zinc-500", emptyClassName)
25
25
  : "p-1.5";
@@ -42,7 +42,7 @@ export default function useInputRefValue({ value, ref, name, onChange, }) {
42
42
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
43
43
  });
44
44
  }
45
- }, [innerValue]);
45
+ }, [{ innerValue }]);
46
46
  return {
47
47
  innerRef,
48
48
  innerValue,
package/package.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/majapisoftwares/ui.git"
6
6
  },
7
- "version": "4.3.4"
7
+ "version": "4.3.5"
8
8
  }