nestiq-component-library 1.1.159 → 1.1.160

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nestiq-component-library",
3
- "version": "1.1.159",
3
+ "version": "1.1.160",
4
4
  "type": "module",
5
5
  "description": "",
6
6
  "main": "dist/index.js",
@@ -72,7 +72,7 @@ export default function ImageListPopup(props: PopupProps) {
72
72
  <div
73
73
  className=" rounded-5 mainImage "
74
74
  style={{
75
- backgroundImage: `url(${props.pictureUrls[currentImageIndex].url})`,
75
+ backgroundImage: `url(${props.pictureUrls[currentImageIndex]?.url})`,
76
76
  height: "465px",
77
77
  width: "880px",
78
78
  backgroundSize: "cover",
@@ -126,7 +126,7 @@ export default function ImageListPopup(props: PopupProps) {
126
126
  }}
127
127
  >
128
128
  <img
129
- src={picture.url}
129
+ src={picture?.url}
130
130
  alt={`Image ${index + 1}`}
131
131
  className="col-12 h-100 rounded-3 object-fit-cover"
132
132
  />