Skip to content

Commit

Permalink
Update apps/wallet-mobile/src/features/Portfolio/useCases/PortfolioDa…
Browse files Browse the repository at this point in the history
…shboard/DashboardTokensList/DashboardTokensList.tsx

Signed-off-by: banklesss <[email protected]>
  • Loading branch information
banklesss authored Dec 20, 2024
1 parent 77e7038 commit 4b78708
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const DashboardTokensList = () => {
const tokensList = React.useMemo(() => balances.fts ?? [], [balances.fts])

const isJustADA = React.useMemo(() => {
if (tokensList?.[0] == null || tokensList.length >= 2) return false
if (tokenList.length !== 1) return false
const tokenInfo = tokensList[0].info
const isPrimary = isPrimaryToken(tokenInfo)
return isPrimary
Expand Down

0 comments on commit 4b78708

Please sign in to comment.