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.es.js CHANGED
@@ -5870,10 +5870,11 @@ function ItemImproveTooltip(_a) {
5870
5870
  costGroup.texts.push(React.createElement("div", { className: "TooltipBase_flex ItemImproveTooltip_moneyContainer" },
5871
5871
  React.createElement("span", { className: "TooltipBase_grade-8" }, "This option has a chance to fail!")));
5872
5872
  }
5873
- if (upgradeOption.mainItemCost != null)
5873
+ if (upgradeOption.mainItemCost != null) {
5874
5874
  var mainItems;
5875
- mainItems.push(upgradeOption.mainItemCost);
5876
- costGroup.texts.push(React.createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: mainItems }));
5875
+ mainItems.push(upgradeOption.mainItemCost);
5876
+ costGroup.texts.push(React.createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: mainItems }));
5877
+ }
5877
5878
  if (upgradeOption.subItemCost != null && upgradeOption.subItemCost.length > 0) {
5878
5879
  costGroup.texts.push(React.createElement(DecomposeResults, { client: client, region: region, showUpgrade: false, items: upgradeOption.subItemCost }));
5879
5880
  }