@vtx/cs-map-layer 1.0.15 → 1.0.16

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.
@@ -7,6 +7,9 @@ var CloseBtn = function CloseBtn(props) {
7
7
  facilityDetail = props.facilityDetail;
8
8
  var _useProps = useProps(),
9
9
  showModal = _useProps.showModal;
10
+ if (!props.showModal && !showModal) {
11
+ return null;
12
+ }
10
13
  return /*#__PURE__*/React.createElement(ExclamationCircleOutlined, {
11
14
  onClick: function onClick() {
12
15
  if (props.showModal) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/cs-map-layer",
3
- "version": "1.0.15",
3
+ "version": "1.0.16",
4
4
  "description": "React components for Vortex",
5
5
  "license": "MIT",
6
6
  "module": "lib/index.js",