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.es.js CHANGED
@@ -5872,6 +5872,8 @@ function ItemImproveTooltip(_a) {
5872
5872
  var _j = useState(), nextItem = _j[0], setNextItem = _j[1];
5873
5873
  var _k = useState([]), steps = _k[0], setSteps = _k[1];
5874
5874
  var _l = useState([]), allPossibleUpgrades = _l[0], setAllPossibleUpgrades = _l[1];
5875
+ if (offline)
5876
+ return null;
5875
5877
  useEffect(function () {
5876
5878
  if (data == null || client == null)
5877
5879
  return;