pollination-react-io 1.100.0 → 1.100.1

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.
@@ -48040,11 +48040,12 @@ var GetGeometry = function (_a) {
48040
48040
  });
48041
48041
  }, [result, preview]);
48042
48042
  // Event effect if subscribe is active
48043
+ // If subscribe is enable or disable rerun
48043
48044
  useEffect(function () {
48044
48045
  if (!getGeometry)
48045
48046
  return;
48046
48047
  subscribe && getGeometry(defaultKey, false, false, selection);
48047
- }, [getGeometry, refresh]);
48048
+ }, [getGeometry, refresh, subscribe]);
48048
48049
  return (React__default.createElement(SettingsButton, { icon: useIcon && ((isClicked && geometry) ? React__default.createElement(CheckCircle$1, null) : undefined), onClick: function () {
48049
48050
  if (!getGeometry)
48050
48051
  return;