bnstooltips 1.8.0 → 1.8.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.
package/build/index.js CHANGED
@@ -5900,6 +5900,8 @@ function ItemImproveTooltip(_a) {
5900
5900
  var _j = React.useState(), nextItem = _j[0], setNextItem = _j[1];
5901
5901
  var _k = React.useState([]), steps = _k[0], setSteps = _k[1];
5902
5902
  var _l = React.useState([]), allPossibleUpgrades = _l[0], setAllPossibleUpgrades = _l[1];
5903
+ if (offline)
5904
+ return null;
5903
5905
  React.useEffect(function () {
5904
5906
  if (data == null || client == null)
5905
5907
  return;