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
|
-
|
37
|
-
onChange(value);
|
38
|
-
}
|
36
|
+
onChange == null ? void 0 : onChange(value);
|
39
37
|
};
|
40
38
|
return /* @__PURE__ */ jsx(
|
41
39
|
Re,
|