bnstooltips 1.18.1 → 1.18.2

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/build/index.es.js CHANGED
@@ -8083,7 +8083,7 @@ function ItemTooltip(_a) {
8083
8083
  var _k = useState("advanced-1"), jobstyle = _k[0], setJobstyle = _k[1];
8084
8084
  var _l = useState(), client = _l[0], setClient = _l[1];
8085
8085
  useEffect(function () {
8086
- if (offline)
8086
+ if (offline && !showUpgradeEffects)
8087
8087
  return;
8088
8088
  if (clientProp == undefined) {
8089
8089
  (function () { return __awaiter(_this, void 0, void 0, function () {
@@ -8096,7 +8096,7 @@ function ItemTooltip(_a) {
8096
8096
  else {
8097
8097
  setClient(clientProp);
8098
8098
  }
8099
- }, [offline]);
8099
+ }, [offline, showUpgradeEffects]);
8100
8100
  useEffect(function () {
8101
8101
  if (jobstyleOverride != undefined) {
8102
8102
  setJobstyle(jobstyleOverride);