From c633ed20239396758e11bc61b616579114b0eeee Mon Sep 17 00:00:00 2001 From: starknetdev Date: Thu, 21 Sep 2023 19:20:33 +0100 Subject: [PATCH] fix first item select on mobile --- ui/src/app/components/marketplace/MarketplaceTable.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ui/src/app/components/marketplace/MarketplaceTable.tsx b/ui/src/app/components/marketplace/MarketplaceTable.tsx index 2c034dc07..cea8c47a2 100644 --- a/ui/src/app/components/marketplace/MarketplaceTable.tsx +++ b/ui/src/app/components/marketplace/MarketplaceTable.tsx @@ -100,6 +100,8 @@ const MarketplaceTable = ({ return sortedItems; }, [marketLatestItems, sortField, sortDirection]); + console.log(showEquipQ); + return ( <>
@@ -149,7 +151,7 @@ const MarketplaceTable = ({
- {showEquipQ && ( + {showEquipQ! >= 0 && (
{(() => { const item = sortedMarketLatestItems[showEquipQ ?? 0];