Skip to content

Commit

Permalink
name update
Browse files Browse the repository at this point in the history
  • Loading branch information
YohanTz committed Apr 26, 2024
1 parent d031db9 commit bb590ee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/web/src/app/(routes)/bridge/[address]/TokenList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 ||
Expand Down

0 comments on commit bb590ee

Please sign in to comment.