@treely/strapi-slices 6.2.1 → 6.2.2

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.
@@ -2582,7 +2582,7 @@ var TextCarousel = function TextCarousel(_ref) {
2582
2582
  _slice$isShuffled = slice.isShuffled,
2583
2583
  isShuffled = _slice$isShuffled === void 0 ? false : _slice$isShuffled;
2584
2584
  useEffect(function () {
2585
- if (isShuffled && typeof window === 'undefined') {
2585
+ if (isShuffled) {
2586
2586
  setDisplaySlides(shuffleElements(slides));
2587
2587
  }
2588
2588
  }, [slides, isShuffled]);