We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6b41834 + e5d2cd4 commit 38c1b51Copy full SHA for 38c1b51
src/utils/innerSliderUtils.js
@@ -126,10 +126,7 @@ export const initializedState = spec => {
126
currentSlide = slideCount - 1 - spec.initialSlide;
127
}
128
let lazyLoadedList = spec.lazyLoadedList || [];
129
- let slidesToLoad = getOnDemandLazySlides(
130
- { currentSlide, lazyLoadedList },
131
- spec
132
- );
+ let slidesToLoad = getOnDemandLazySlides({ ...spec, currentSlide, lazyLoadedList });
133
lazyLoadedList.concat(slidesToLoad);
134
135
let state = {
0 commit comments