Skip to content

Commit

Permalink
apy -> apr (#336)
Browse files Browse the repository at this point in the history
Signed-off-by: Nam Nguyen <nam.nguyen@kyber.network>
  • Loading branch information
namgold authored Jul 5, 2022
1 parent 90df238 commit c27b1be
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/PairList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ function PairList({ pairs, color, disbaleLinks, maxItems = 5 }) {
setSortDirection(prev => (sortedColumn !== FIELDS.APY ? true : !prev))
}}
>
APY {sortedColumn === FIELDS.APY ? (!sortDirection ? '↑' : '↓') : ''}
APR {sortedColumn === FIELDS.APY ? (!sortDirection ? '↑' : '↓') : ''}
</ClickableText>
<QuestionHelper text={'Estimated return based on yearly fees of the pool'} />
</Flex>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PoolList/ListItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export const ItemCard = ({ pool }) => {
<DataText>{formattedNum(amp.toPrecision(5))}</DataText>
</GridItem>
<GridItem noBorder>
<DataTitle>APY</DataTitle>
<DataTitle>APR</DataTitle>
<DataText>{oneYearFL < MAX_ALLOW_APY ? `${oneYearFL}%` : '--'} </DataText>
</GridItem>
</StyledItemCard>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PoolList/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ const PoolList = ({ pools }) => {
setSortDirection(sortedColumn !== SORT_FIELD.ONE_YEAR_FL ? true : !sortDirection)
}}
>
APY
APR
{sortedColumn === SORT_FIELD.ONE_YEAR_FL ? (
!sortDirection ? (
<ChevronUp size='14' style={{ marginLeft: '2px' }} />
Expand Down

0 comments on commit c27b1be

Please sign in to comment.