@rpg-engine/long-bow 0.2.38 → 0.2.39

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.
@@ -29434,7 +29434,6 @@ var TradingMenu = function TradingMenu(_ref) {
29434
29434
  atlasJSON = _ref.atlasJSON,
29435
29435
  atlasIMG = _ref.atlasIMG,
29436
29436
  characterAvailableGold = _ref.characterAvailableGold,
29437
- onChangeTraderItems = _ref.onChangeTraderItems,
29438
29437
  onConfirm = _ref.onConfirm;
29439
29438
  var _useState = useState(0),
29440
29439
  sum = _useState[0],
@@ -29450,11 +29449,6 @@ var TradingMenu = function TradingMenu(_ref) {
29450
29449
  setSum(newSumArray);
29451
29450
  });
29452
29451
  };
29453
- useEffect(function () {
29454
- if (onChangeTraderItems) {
29455
- onChangeTraderItems(traderItems);
29456
- }
29457
- }, [traderItems]);
29458
29452
  var Capitalize = function Capitalize(word) {
29459
29453
  return word[0].toUpperCase() + word.substring(1);
29460
29454
  };
@@ -29514,7 +29508,7 @@ var GoldWrapper = /*#__PURE__*/styled.div.withConfig({
29514
29508
  var AlertWrapper = /*#__PURE__*/styled.div.withConfig({
29515
29509
  displayName: "TradingMenu__AlertWrapper",
29516
29510
  componentId: "sc-1wjsz1l-5"
29517
- })(["display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
29511
+ })(["margin-top:1rem;display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
29518
29512
  var ButtonWrapper = /*#__PURE__*/styled.div.withConfig({
29519
29513
  displayName: "TradingMenu__ButtonWrapper",
29520
29514
  componentId: "sc-1wjsz1l-6"