From 04e6d3eeea983f49e02473f153ac2da250212d34 Mon Sep 17 00:00:00 2001 From: Bill Date: Fri, 4 Mar 2022 13:27:47 -0500 Subject: [PATCH] Fix marketplace style --- .../marketplace/CatalogLayoutMarketplaceOwnItemsView.tsx | 8 ++++---- .../CatalogLayoutMarketplacePublicItemsView.tsx | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceOwnItemsView.tsx b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceOwnItemsView.tsx index 910389e0..c4176472 100644 --- a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceOwnItemsView.tsx +++ b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplaceOwnItemsView.tsx @@ -1,7 +1,7 @@ import { CancelMarketplaceOfferMessageComposer, GetMarketplaceOwnOffersMessageComposer, MarketplaceCancelOfferResultEvent, MarketplaceOwnOffersEvent, RedeemMarketplaceOfferCreditsMessageComposer } from '@nitrots/nitro-renderer'; import { FC, useCallback, useMemo, useState } from 'react'; import { LocalizeText, SendMessageComposer } from '../../../../../../api'; -import { Button, Column, Grid, Text } from '../../../../../../common'; +import { Button, Column, Text } from '../../../../../../common'; import { BatchUpdates, UseMessageEventHook, UseMountEffect } from '../../../../../../hooks'; import { NotificationAlertType } from '../../../../../../views/notification-center/common/NotificationAlertType'; import { NotificationUtilities } from '../../../../../../views/notification-center/common/NotificationUtilities'; @@ -103,9 +103,9 @@ export const CatalogLayoutMarketplaceOwnItemsView: FC = prop { LocalizeText('catalog.marketplace.items_found', [ 'count' ], [ offers.length.toString() ]) } - - { (offers.length > 0) && offers.map(offer => ) } - + + { (offers.length > 0) && offers.map(offer => ) } + ); diff --git a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx index c4f72c9b..7c2eab4d 100644 --- a/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx +++ b/src/components/catalog/views/page/layout/marketplace/CatalogLayoutMarketplacePublicItemsView.tsx @@ -1,7 +1,7 @@ import { BuyMarketplaceOfferMessageComposer, GetMarketplaceOffersMessageComposer, MarketplaceBuyOfferResultEvent, MarketPlaceOffersEvent } from '@nitrots/nitro-renderer'; import { FC, useCallback, useMemo, useState } from 'react'; import { LocalizeText, SendMessageComposer } from '../../../../../../api'; -import { Button, ButtonGroup, Column, Grid, Text } from '../../../../../../common'; +import { Button, ButtonGroup, Column, Text } from '../../../../../../common'; import { BatchUpdates, UseMessageEventHook } from '../../../../../../hooks'; import { NotificationAlertType } from '../../../../../../views/notification-center/common/NotificationAlertType'; import { NotificationUtilities } from '../../../../../../views/notification-center/common/NotificationUtilities'; @@ -159,11 +159,11 @@ export const CatalogLayoutMarketplacePublicItemsView: FC { LocalizeText('catalog.marketplace.items_found', [ 'count' ], [ offers.size.toString() ]) } - + { Array.from(offers.values()).map( (entry, index) => ) } - + );