@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.
@@ -8,6 +8,5 @@ export interface ITrandingMenu {
8
8
  atlasJSON: any;
9
9
  atlasIMG: any;
10
10
  characterAvailableGold: number;
11
- onChangeTraderItems: (traderItems: ITradeResponseItem[]) => void;
12
11
  }
13
12
  export declare const TradingMenu: React.FC<ITrandingMenu>;
@@ -29436,7 +29436,6 @@ var TradingMenu = function TradingMenu(_ref) {
29436
29436
  atlasJSON = _ref.atlasJSON,
29437
29437
  atlasIMG = _ref.atlasIMG,
29438
29438
  characterAvailableGold = _ref.characterAvailableGold,
29439
- onChangeTraderItems = _ref.onChangeTraderItems,
29440
29439
  onConfirm = _ref.onConfirm;
29441
29440
  var _useState = React.useState(0),
29442
29441
  sum = _useState[0],
@@ -29452,11 +29451,6 @@ var TradingMenu = function TradingMenu(_ref) {
29452
29451
  setSum(newSumArray);
29453
29452
  });
29454
29453
  };
29455
- React.useEffect(function () {
29456
- if (onChangeTraderItems) {
29457
- onChangeTraderItems(traderItems);
29458
- }
29459
- }, [traderItems]);
29460
29454
  var Capitalize = function Capitalize(word) {
29461
29455
  return word[0].toUpperCase() + word.substring(1);
29462
29456
  };
@@ -29516,7 +29510,7 @@ var GoldWrapper = /*#__PURE__*/styled.div.withConfig({
29516
29510
  var AlertWrapper = /*#__PURE__*/styled.div.withConfig({
29517
29511
  displayName: "TradingMenu__AlertWrapper",
29518
29512
  componentId: "sc-1wjsz1l-5"
29519
- })(["display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
29513
+ })(["margin-top:1rem;display:flex;width:100%;justify-content:center;height:20px;p{color:red !important;}"]);
29520
29514
  var ButtonWrapper = /*#__PURE__*/styled.div.withConfig({
29521
29515
  displayName: "TradingMenu__ButtonWrapper",
29522
29516
  componentId: "sc-1wjsz1l-6"