File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -59,28 +59,20 @@ export function PortfolioCard() {
5959 < TableBody >
6060 { balances . data ?. tokens . map ( ( token ) => {
6161 const isExpanded = expandedRows . has ( token . id )
62- const hasMultipleAccounts =
63- token . accountBreakdown && token . accountBreakdown . length > 1
6462
6563 return (
6664 < >
6765 < TableRow
6866 key = { token . id }
69- className = { hasMultipleAccounts ? 'cursor-pointer' : '' }
70- onClick = {
71- hasMultipleAccounts
72- ? ( ) => toggleRow ( token . id )
73- : undefined
74- }
67+ className = "cursor-pointer"
68+ onClick = { ( ) => toggleRow ( token . id ) }
7569 >
7670 < TableCell >
77- { hasMultipleAccounts && (
78- < ChevronDownIcon
79- className = { `h-4 w-4 transition-transform ${
80- isExpanded ? 'rotate-180' : ''
81- } `}
82- />
83- ) }
71+ < ChevronDownIcon
72+ className = { `h-4 w-4 transition-transform ${
73+ isExpanded ? 'rotate-180' : ''
74+ } `}
75+ />
8476 </ TableCell >
8577 < TableCell > { token . chain . name } </ TableCell >
8678 < TableCell title = { token . symbol } > { token . name } </ TableCell >
You can’t perform that action at this time.
0 commit comments