mimir-ui-kit 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -33,9 +33,7 @@ const Switch = ({
33
33
  const [enabled2, setEnabled] = useState(checked);
34
34
  const handleChange = (value) => {
35
35
  setEnabled(value);
36
- if (onChange) {
37
- onChange(value);
38
- }
36
+ onChange == null ? void 0 : onChange(value);
39
37
  };
40
38
  return /* @__PURE__ */ jsx(
41
39
  Re,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "1.7.0",
4
+ "version": "1.7.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": {