@rpg-engine/long-bow 0.8.154 → 0.8.155
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/dist/long-bow.cjs.development.js +4 -2
- package/dist/long-bow.cjs.development.js.map +1 -1
- package/dist/long-bow.cjs.production.min.js +1 -1
- package/dist/long-bow.cjs.production.min.js.map +1 -1
- package/dist/long-bow.esm.js +4 -2
- package/dist/long-bow.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Marketplace/BuyPanel.tsx +6 -1
package/dist/long-bow.esm.js
CHANGED
|
@@ -45997,7 +45997,9 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
45997
45997
|
openBuyOrdersTotal = _ref$openBuyOrdersTot === void 0 ? 0 : _ref$openBuyOrdersTot,
|
|
45998
45998
|
_ref$openBuyOrdersPag = _ref.openBuyOrdersPage,
|
|
45999
45999
|
openBuyOrdersPage = _ref$openBuyOrdersPag === void 0 ? 1 : _ref$openBuyOrdersPag,
|
|
46000
|
-
onOpenBuyOrdersPageChange = _ref.onOpenBuyOrdersPageChange
|
|
46000
|
+
onOpenBuyOrdersPageChange = _ref.onOpenBuyOrdersPageChange,
|
|
46001
|
+
_ref$isLoading = _ref.isLoading,
|
|
46002
|
+
isLoading = _ref$isLoading === void 0 ? false : _ref$isLoading;
|
|
46001
46003
|
var _useState = useState(''),
|
|
46002
46004
|
name = _useState[0],
|
|
46003
46005
|
setName = _useState[1];
|
|
@@ -46236,7 +46238,7 @@ var BuyPanel = function BuyPanel(_ref) {
|
|
|
46236
46238
|
}))))), React.createElement(ItemComponentScrollWrapper$1, {
|
|
46237
46239
|
id: "MarketContainer",
|
|
46238
46240
|
ref: itemsContainer
|
|
46239
|
-
},
|
|
46241
|
+
}, isLoading ? React.createElement(LoadingState, null, React.createElement(Spinner$2, null), React.createElement(LoadingText$1, null, "Loading marketplace...")) : !hasVisibleContent ? React.createElement(LoadingState, null, React.createElement(LoadingText$1, null, "No items listed.")) : React.createElement(React.Fragment, null, showSellSection && React.createElement(MarketSection, null, React.createElement(SectionHeader, null, React.createElement(SectionTitle$2, null, "Sell Offers"), React.createElement(SectionMeta, null, groupedItems.length, " groups")), groupedItems.length === 0 ? React.createElement(SectionEmpty, null, "No sell offers found.") : groupedItems.map(function (_ref2) {
|
|
46240
46242
|
var bestListing = _ref2.bestListing,
|
|
46241
46243
|
otherListings = _ref2.otherListings;
|
|
46242
46244
|
return React.createElement(GroupedMarketplaceRow, {
|