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.js
CHANGED
|
@@ -5607,6 +5607,8 @@ function ItemWithText(_a) {
|
|
|
5607
5607
|
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;
|
|
5608
5608
|
var _e = React.useState(), item = _e[0], setItem = _e[1];
|
|
5609
5609
|
React.useEffect(function () {
|
|
5610
|
+
if (client == null)
|
|
5611
|
+
return;
|
|
5610
5612
|
if (itemProp == null) {
|
|
5611
5613
|
(function () { return __awaiter(_this, void 0, void 0, function () {
|
|
5612
5614
|
var _a;
|
|
@@ -5625,7 +5627,7 @@ function ItemWithText(_a) {
|
|
|
5625
5627
|
else {
|
|
5626
5628
|
setItem(itemProp);
|
|
5627
5629
|
}
|
|
5628
|
-
}, [itemProp, itemId, itemLevel]);
|
|
5630
|
+
}, [itemProp, itemId, itemLevel, client]);
|
|
5629
5631
|
if (item == null)
|
|
5630
5632
|
return null;
|
|
5631
5633
|
return (React__default["default"].createElement("div", { className: "ItemImproveTooltip_ItemWithText" },
|