@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
- S && S(R), h(R);
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);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@cfx-dev/ui-components",
3
3
  "private": false,
4
- "version": "4.2.6",
4
+ "version": "4.2.7",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "main": "dist/main.js",