ketcher-macromolecules 2.22.0-rc.2 → 2.22.0-rc.3

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
@@ -7375,7 +7375,6 @@ var ZoomInput = function ZoomInput(_ref) {
7375
7375
  };
7376
7376
 
7377
7377
  var ZoomControls = function ZoomControls() {
7378
- var _ZoomTool$instance3;
7379
7378
  var _useState = React.useState(false),
7380
7379
  _useState2 = _slicedToArray__default["default"](_useState, 2),
7381
7380
  isExpanded = _useState2[0],
@@ -7392,7 +7391,7 @@ var ZoomControls = function ZoomControls() {
7392
7391
  var _ZoomTool$instance2;
7393
7392
  setCurrentZoom(Math.round((ketcherCore.ZoomTool === null || ketcherCore.ZoomTool === void 0 || (_ZoomTool$instance2 = ketcherCore.ZoomTool.instance) === null || _ZoomTool$instance2 === void 0 ? void 0 : _ZoomTool$instance2.getZoomLevel()) * 100));
7394
7393
  });
7395
- }, [ketcherCore.ZoomTool === null || ketcherCore.ZoomTool === void 0 || (_ZoomTool$instance3 = ketcherCore.ZoomTool.instance) === null || _ZoomTool$instance3 === void 0 ? void 0 : _ZoomTool$instance3.subscribeOnZoomEvent]);
7394
+ }, [ketcherCore.ZoomTool === null || ketcherCore.ZoomTool === void 0 ? void 0 : ketcherCore.ZoomTool.instance]);
7396
7395
  var onZoomSubmit = React.useCallback(function () {
7397
7396
  var inputEl = inputRef.current;
7398
7397
  if (!inputEl) return;