@evergis/react 2.0.174 → 2.0.175

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.
@@ -6401,6 +6401,7 @@ const Legend = /*#__PURE__*/React.memo(_ref => {
6401
6401
  rest = _objectWithoutPropertiesLoose(_ref, _excluded$3);
6402
6402
 
6403
6403
  const classified = getClassified(layerInfo);
6404
+ if (!classified) return null;
6404
6405
  const parameters = Object.keys(classified);
6405
6406
  const attributes = getLayerAttributes(layerInfo.layerDefinition);
6406
6407
  return React__default.createElement(MapLegendContainer, null, Object.keys(classified).map((param, index) => {