Skip to content

Commit

Permalink
issue #27: token icon: replace CP to LP
Browse files Browse the repository at this point in the history
  • Loading branch information
blackskin18 committed Jun 6, 2023
1 parent b4037a2 commit 4acdf4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Components/ui/TokenIcon/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const TokenIcon = (props: {
const k = pool?.k.toNumber()
const power = Number(id) === Number(POOL_IDS.A) ? (k / 2) : (-k / 2)
if (Number(id) === POOL_IDS.C) {
return <div style={style} className='pool-token-logo pool-token-logo__cp'>CP</div>
return <div style={style} className='pool-token-logo pool-token-logo__cp'>LP</div>
}
return <div
style={style}
Expand All @@ -46,7 +46,7 @@ export const TokenIcon = (props: {
{power > 0 && '+'}{power}
</div>
} else if (props.tokenAddress?.includes('-' + POOL_IDS.C)) {
return <div style={style} className='pool-token-logo pool-token-logo__lp'>CP</div>
return <div style={style} className='pool-token-logo pool-token-logo__lp'>LP</div>
}
return ''
}, [pools, props.tokenAddress])
Expand Down

0 comments on commit 4acdf4e

Please sign in to comment.