@contentful/experiences-core 1.30.5-prerelease-20250214T1504-9ac7f25.0 → 1.30.5-prerelease-20250217T1132-fd5e656.0

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.js CHANGED
@@ -2521,7 +2521,7 @@ const getActiveBreakpointIndex = (breakpoints, mediaQueryMatches, fallbackBreakp
2521
2521
  id,
2522
2522
  index,
2523
2523
  // The fallback breakpoint with wildcard query will always match
2524
- isMatch: mediaQueryMatches[id] ?? index === fallbackBreakpointIndex,
2524
+ isMatch: mediaQueryMatches?.[id] ?? index === fallbackBreakpointIndex,
2525
2525
  }));
2526
2526
  // Find the last breakpoint in the list that matches (desktop-first: the narrowest one)
2527
2527
  const mostSpecificIndex = findLast(breakpointsWithMatches, ({ isMatch }) => isMatch)?.index;