Skip to content

Commit

Permalink
Lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sophialittlejohn committed Oct 27, 2023
1 parent 59fa110 commit f78c808
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions centrifuge-app/src/components/Portfolio/InvestedTokens.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const columns: Column[] = [
align: 'left',
header: 'Token',
cell: (token: Row) => {
return <Token {...token} />
return <TokenWithIcon {...token} />
},
width: '250px',
},
Expand Down Expand Up @@ -152,7 +152,7 @@ export const InvestedTokens = ({ canInvestRedeem = false }) => {
) : null
}

const Token = ({ poolId, currency }: Row) => {
const TokenWithIcon = ({ poolId, currency }: Row) => {
const pool = usePool(poolId, false)
const { data: metadata } = usePoolMetadata(pool)
const cent = useCentrifuge()
Expand Down

0 comments on commit f78c808

Please sign in to comment.