@cfx-dev/ui-components 4.2.6 → 4.2.7
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.
|
@@ -502,7 +502,11 @@ const Ue = "cfxui__Slider__container__997ea", Ye = "cfxui__Slider__labels__2a966
|
|
|
502
502
|
if (o)
|
|
503
503
|
return o;
|
|
504
504
|
}), m = I.useCallback((R) => {
|
|
505
|
-
|
|
505
|
+
if (S) {
|
|
506
|
+
S(R);
|
|
507
|
+
return;
|
|
508
|
+
}
|
|
509
|
+
h(R);
|
|
506
510
|
}, [S]);
|
|
507
511
|
return I.useEffect(() => {
|
|
508
512
|
n && h(n);
|