Skip to content

Commit 40e6a8c

Browse files
committed
fix lint
1 parent 442cc99 commit 40e6a8c

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

src/components/CCIP/Cards/TokenCard.tsx

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,19 @@ const TokenCard = memo(function TokenCard({ id, logo, link, onClick, totalNetwor
1818
</object>
1919
)
2020

21-
const subtitle = totalNetworks !== undefined ? `${totalNetworks} ${totalNetworks === 1 ? "network" : "networks"}` : undefined
21+
const subtitle =
22+
totalNetworks !== undefined ? `${totalNetworks} ${totalNetworks === 1 ? "network" : "networks"}` : undefined
2223

23-
return <Card logo={logoElement} title={id} subtitle={subtitle} link={link} onClick={onClick} ariaLabel={`View ${id} token details`} />
24+
return (
25+
<Card
26+
logo={logoElement}
27+
title={id}
28+
subtitle={subtitle}
29+
link={link}
30+
onClick={onClick}
31+
ariaLabel={`View ${id} token details`}
32+
/>
33+
)
2434
})
2535

2636
export default TokenCard

0 commit comments

Comments
 (0)