@nypl/design-system-react-components 3.5.1 → 3.5.2-rc

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.
@@ -2079,7 +2079,7 @@ const LD = _1(
2079
2079
  }), g1 = (A1) => {
2080
2080
  console.warn(
2081
2081
  "NYPL Reservoir Image: The initial image failed to load in the browser. The fallback image source will now be used."
2082
- ), A1.target.src = S || "", O && O(A1);
2082
+ ), A1.target.src = S, O && O(A1);
2083
2083
  };
2084
2084
  let w1 = null, y1, P1, v1 = R ? {} : { src: Y };
2085
2085
  if (f && f.length > 300)
@@ -2093,7 +2093,7 @@ const LD = _1(
2093
2093
  alt: f,
2094
2094
  id: k || null,
2095
2095
  loading: R ? "lazy" : void 0,
2096
- onError: g1,
2096
+ onError: S && g1,
2097
2097
  ...v1,
2098
2098
  __css: { ...c1.img, ...l },
2099
2099
  ...A
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nypl/design-system-react-components",
3
- "version": "3.5.1",
3
+ "version": "3.5.2-rc",
4
4
  "description": "NYPL Reservoir Design System React Components",
5
5
  "repository": {
6
6
  "type": "git",