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.js CHANGED
@@ -8091,7 +8091,7 @@ function ItemTooltip(_a) {
8091
8091
  var _k = React.useState("advanced-1"), jobstyle = _k[0], setJobstyle = _k[1];
8092
8092
  var _l = React.useState(), client = _l[0], setClient = _l[1];
8093
8093
  React.useEffect(function () {
8094
- if (offline)
8094
+ if (offline && !showUpgradeEffects)
8095
8095
  return;
8096
8096
  if (clientProp == undefined) {
8097
8097
  (function () { return __awaiter(_this, void 0, void 0, function () {
@@ -8104,7 +8104,7 @@ function ItemTooltip(_a) {
8104
8104
  else {
8105
8105
  setClient(clientProp);
8106
8106
  }
8107
- }, [offline]);
8107
+ }, [offline, showUpgradeEffects]);
8108
8108
  React.useEffect(function () {
8109
8109
  if (jobstyleOverride != undefined) {
8110
8110
  setJobstyle(jobstyleOverride);