koval-ui 0.12.23 → 0.12.24
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.
- package/dist/index.js +2 -4
- package/dist/index.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +29 -29
package/dist/index.js
CHANGED
|
@@ -163,8 +163,7 @@ const Ge = (e, t, n) => {
|
|
|
163
163
|
M(() => {
|
|
164
164
|
r.current = t;
|
|
165
165
|
}, [t]), M(() => {
|
|
166
|
-
if (o == null)
|
|
167
|
-
return;
|
|
166
|
+
if (o == null) return;
|
|
168
167
|
const c = (a) => r.current(a);
|
|
169
168
|
return o.addEventListener(e, c), () => o.removeEventListener(e, c);
|
|
170
169
|
}, [e, o]);
|
|
@@ -2980,8 +2979,7 @@ const Xi = (e, t) => {
|
|
|
2980
2979
|
if (j && j < x) {
|
|
2981
2980
|
const et = o * (j / n);
|
|
2982
2981
|
v(j), $(et);
|
|
2983
|
-
} else
|
|
2984
|
-
j && j > x && (v(n), $(o));
|
|
2982
|
+
} else j && j > x && (v(n), $(o));
|
|
2985
2983
|
},
|
|
2986
2984
|
[x, o, n]
|
|
2987
2985
|
);
|