bnstooltips 1.7.2 → 1.7.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.js CHANGED
@@ -5898,10 +5898,11 @@ function ItemImproveTooltip(_a) {
5898
5898
  costGroup.texts.push(React__default["default"].createElement("div", { className: "TooltipBase_flex ItemImproveTooltip_moneyContainer" },
5899
5899
  React__default["default"].createElement("span", { className: "TooltipBase_grade-8" }, "This option has a chance to fail!")));
5900
5900
  }
5901
- if (upgradeOption.mainItemCost != null)
5901
+ if (upgradeOption.mainItemCost != null) {
5902
5902
  var mainItems;
5903
- mainItems.push(upgradeOption.mainItemCost);
5904
- costGroup.texts.push(React__default["default"].createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: mainItems }));
5903
+ mainItems.push(upgradeOption.mainItemCost);
5904
+ costGroup.texts.push(React__default["default"].createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: mainItems }));
5905
+ }
5905
5906
  if (upgradeOption.subItemCost != null && upgradeOption.subItemCost.length > 0) {
5906
5907
  costGroup.texts.push(React__default["default"].createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: upgradeOption.subItemCost }));
5907
5908
  }