@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
|
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
|
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 () {
|