@aclymatepackages/modules 5.0.4 → 5.0.5

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.
@@ -165,6 +165,9 @@ const PlacesAutocomplete = _ref => {
165
165
  color: "textSecondary"
166
166
  }, option === null || option === void 0 || (_option$structured_fo3 = option.structured_formatting) === null || _option$structured_fo3 === void 0 ? void 0 : _option$structured_fo3.secondary_text))));
167
167
  }
168
+ if (typeof option !== "string") {
169
+ return null;
170
+ }
168
171
  return /*#__PURE__*/_react.default.createElement("li", props, option);
169
172
  }
170
173
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aclymatepackages/modules",
3
- "version": "5.0.4",
3
+ "version": "5.0.5",
4
4
  "description": "Aclymate modules",
5
5
  "author": "William Loopesko",
6
6
  "main": "dist/index.js",
@@ -166,6 +166,9 @@ const PlacesAutocomplete = ({
166
166
  );
167
167
  }
168
168
 
169
+ if (typeof option !== "string") {
170
+ return null;
171
+ }
169
172
  return <li {...props}>{option}</li>;
170
173
  }}
171
174
  />