@zat-design/sisyphus-react 3.11.5-beta.2 → 3.11.5-beta.3

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.
@@ -24,7 +24,7 @@ var ProStepItem = function ProStepItem(_ref) {
24
24
  register = _useStep.register,
25
25
  collapse = _useStep.collapse,
26
26
  globalLazyLoad = _useStep.lazyLoad;
27
- var lazyLoad = stepLazyLoad || globalLazyLoad;
27
+ var lazyLoad = stepLazyLoad !== null && stepLazyLoad !== void 0 ? stepLazyLoad : globalLazyLoad;
28
28
  useEffect(function () {
29
29
  // Schedule registration to avoid re-render issues
30
30
  var timeoutId = setTimeout(function () {
@@ -32,7 +32,7 @@ var ProStepItem = function ProStepItem(_ref) {
32
32
  register = _useStep.register,
33
33
  collapse = _useStep.collapse,
34
34
  globalLazyLoad = _useStep.lazyLoad;
35
- var lazyLoad = stepLazyLoad || globalLazyLoad;
35
+ var lazyLoad = stepLazyLoad !== null && stepLazyLoad !== void 0 ? stepLazyLoad : globalLazyLoad;
36
36
  (0, _react.useEffect)(function () {
37
37
  // Schedule registration to avoid re-render issues
38
38
  var timeoutId = setTimeout(function () {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.11.5-beta.2",
3
+ "version": "3.11.5-beta.3",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",