@rpg-engine/long-bow 0.8.189 → 0.8.190

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rpg-engine/long-bow",
3
- "version": "0.8.189",
3
+ "version": "0.8.190",
4
4
  "license": "MIT",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -32,7 +32,6 @@ import { MarketplacePaymentMethod } from './MarketplaceBuyModal';
32
32
  import { MarketplaceAcceptedCurrency, MarketplaceSettingsPanel } from './MarketplaceSettingsPanel';
33
33
  import { CharacterMarketplacePanel } from './CharacterMarketplacePanel';
34
34
  import { MyCharacterListingsPanel } from './MyCharacterListingsPanel';
35
- import { CharacterListingForm } from './CharacterListingForm';
36
35
 
37
36
  export interface IMarketPlaceProps {
38
37
  items: IMarketplaceItem[];
@@ -206,7 +205,7 @@ export const Marketplace: React.FC<IMarketPlaceProps> = props => {
206
205
  const [activeTab, setActiveTab] = useState<ActiveTab>('marketplace');
207
206
  const [acceptedCurrency, setAcceptedCurrency] = useState<MarketplaceAcceptedCurrency>(acceptedCurrencyProp ?? MarketplaceAcceptedCurrency.GoldOrDc);
208
207
  const [isBlueprintSearchOpen, setIsBlueprintSearchOpen] = useState(false);
209
- const [characterSubTab, setCharacterSubTab] = useState<'browse' | 'my-listings' | 'list'>('browse');
208
+ const [characterSubTab, setCharacterSubTab] = useState<'browse' | 'my-listings'>('browse');
210
209
 
211
210
  const handleCurrencyChange = (value: MarketplaceAcceptedCurrency) => {
212
211
  setAcceptedCurrency(value);
@@ -305,13 +304,6 @@ export const Marketplace: React.FC<IMarketPlaceProps> = props => {
305
304
  >
306
305
  My Listings
307
306
  </CharacterSubTab>
308
- <CharacterSubTab
309
- $active={characterSubTab === 'list'}
310
- onClick={() => setCharacterSubTab('list')}
311
- type="button"
312
- >
313
- List Character
314
- </CharacterSubTab>
315
307
  </CharacterSubTabs>
316
308
 
317
309
  {characterSubTab === 'browse' && (
@@ -353,18 +345,6 @@ export const Marketplace: React.FC<IMarketPlaceProps> = props => {
353
345
  />
354
346
  )}
355
347
 
356
- {characterSubTab === 'list' && (
357
- <CharacterListingForm
358
- accountCharacters={accountCharacters ?? []}
359
- onCharacterList={onCharacterList ?? (() => {})}
360
- atlasJSON={props.atlasJSON}
361
- atlasIMG={props.atlasIMG}
362
- characterAtlasJSON={characterAtlasJSON ?? props.atlasJSON}
363
- characterAtlasIMG={characterAtlasIMG ?? props.atlasIMG}
364
- enableHotkeys={props.enableHotkeys}
365
- disableHotkeys={props.disableHotkeys}
366
- />
367
- )}
368
348
  </>
369
349
  )}
370
350