@bigbinary/neeto-site-blocks 1.11.0-beta5 → 1.11.0-beta6
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.
- package/dist/index.cjs.js +2 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -43216,8 +43216,8 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43216
43216
|
return swiper === null || swiper === void 0 ? void 0 : swiper.slidePrev();
|
|
43217
43217
|
}
|
|
43218
43218
|
}), /*#__PURE__*/React__default.createElement(Swiper, {
|
|
43219
|
+
loop: true,
|
|
43219
43220
|
className: "ns-hero-with-slider",
|
|
43220
|
-
loop: isNotEmpty(slides),
|
|
43221
43221
|
onSwiper: setSwiper
|
|
43222
43222
|
}, slides.map(function (_ref7, index) {
|
|
43223
43223
|
var content = _ref7.content,
|
|
@@ -43225,7 +43225,7 @@ var HeroWithGallery = function HeroWithGallery(_ref) {
|
|
|
43225
43225
|
media = _ref7.media;
|
|
43226
43226
|
return /*#__PURE__*/React__default.createElement(SwiperSlide, {
|
|
43227
43227
|
className: classnames("my-auto", className),
|
|
43228
|
-
key: index
|
|
43228
|
+
key: getUniqueKey(content.title, index)
|
|
43229
43229
|
}, renderHeroWithMedia({
|
|
43230
43230
|
content: content,
|
|
43231
43231
|
buttons: buttons,
|