ublo-lib 1.16.1 → 1.16.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.
@@ -20,7 +20,9 @@ function Carousel({
20
20
  }) {
21
21
  const carouselRef = React.useRef();
22
22
  const {
23
- cmsMode
23
+ cmsMode,
24
+ lang,
25
+ path
24
26
  } = useUbloContext();
25
27
  const [sections, setSections] = React.useState([]);
26
28
  const [current, setCurrent] = React.useState(0);
@@ -198,7 +200,7 @@ function Carousel({
198
200
  });
199
201
  if (fade) inner.style.removeProperty("transform");
200
202
  }
201
- }, [current, editing, fade, getSections]);
203
+ }, [current, editing, fade, getSections, lang, path]);
202
204
  const onUndraggableElementClick = React.useCallback(e => {
203
205
  e.preventDefault();
204
206
  e.stopPropagation();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ublo-lib",
3
- "version": "1.16.1",
3
+ "version": "1.16.2",
4
4
  "peerDependencies": {
5
5
  "dt-design-system": "^2.9.0",
6
6
  "leaflet": "^1.9.1",