bnstooltips 1.8.2 → 1.8.3
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 +3 -1
- package/build/index.es.js.map +1 -1
- package/build/index.js +3 -1
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -5579,6 +5579,8 @@ function ItemWithText(_a) {
|
|
|
5579
5579
|
var borderClass = _a.borderClass, itemProp = _a.item, itemLevel = _a.itemLevel, itemId = _a.itemId, client = _a.client, region = _a.region, tooltip = _a.tooltip, _d = _a.small, small = _d === void 0 ? false : _d;
|
|
5580
5580
|
var _e = useState(), item = _e[0], setItem = _e[1];
|
|
5581
5581
|
useEffect(function () {
|
|
5582
|
+
if (client == null)
|
|
5583
|
+
return;
|
|
5582
5584
|
if (itemProp == null) {
|
|
5583
5585
|
(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
5584
5586
|
var _a;
|
|
@@ -5597,7 +5599,7 @@ function ItemWithText(_a) {
|
|
|
5597
5599
|
else {
|
|
5598
5600
|
setItem(itemProp);
|
|
5599
5601
|
}
|
|
5600
|
-
}, [itemProp, itemId, itemLevel]);
|
|
5602
|
+
}, [itemProp, itemId, itemLevel, client]);
|
|
5601
5603
|
if (item == null)
|
|
5602
5604
|
return null;
|
|
5603
5605
|
return (React.createElement("div", { className: "ItemImproveTooltip_ItemWithText" },
|