From bb590ee3c2be35994c41757e86da8b6a4bb01c58 Mon Sep 17 00:00:00 2001 From: Yohan Tancrez Date: Fri, 26 Apr 2024 11:59:56 +0200 Subject: [PATCH] name update --- apps/web/src/app/(routes)/bridge/[address]/TokenList.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/web/src/app/(routes)/bridge/[address]/TokenList.tsx b/apps/web/src/app/(routes)/bridge/[address]/TokenList.tsx index 09ba33be..8ef3c3a2 100644 --- a/apps/web/src/app/(routes)/bridge/[address]/TokenList.tsx +++ b/apps/web/src/app/(routes)/bridge/[address]/TokenList.tsx @@ -85,8 +85,7 @@ export default function TokenList({ nftContractAddress }: TokenListProps) { // const hasMoreThan100Nfts = // nftsData.pages.length > 1 || (nftsData.pages.length === 1 && hasNextPage); const hasMoreThanMaxSelectNfts = - (nftsData.pages.length > 0 && nftsData.pages[0]?.ownedNfts.length) ?? - 0 > MAX_SELECTED_ITEMS; + nftsData.pages[0]?.ownedNfts.length ?? 0 > MAX_SELECTED_ITEMS; const isAllSelected = (totalSelectedNfts === MAX_SELECTED_ITEMS ||