From c27b1be1d1aeb29b6b7d2dd68f89ddb5893c9921 Mon Sep 17 00:00:00 2001 From: Nam Nguyen Date: Tue, 5 Jul 2022 17:26:13 +0700 Subject: [PATCH] apy -> apr (#336) Signed-off-by: Nam Nguyen --- src/components/PairList/index.js | 2 +- src/components/PoolList/ListItem.js | 2 +- src/components/PoolList/index.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/PairList/index.js b/src/components/PairList/index.js index f7d1afe6b..ce382f9c3 100644 --- a/src/components/PairList/index.js +++ b/src/components/PairList/index.js @@ -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 ? '↑' : '↓') : ''} diff --git a/src/components/PoolList/ListItem.js b/src/components/PoolList/ListItem.js index 6c017b032..21f75c403 100644 --- a/src/components/PoolList/ListItem.js +++ b/src/components/PoolList/ListItem.js @@ -168,7 +168,7 @@ export const ItemCard = ({ pool }) => { {formattedNum(amp.toPrecision(5))} - APY + APR {oneYearFL < MAX_ALLOW_APY ? `${oneYearFL}%` : '--'} diff --git a/src/components/PoolList/index.js b/src/components/PoolList/index.js index 43e4645ee..f1859d73b 100644 --- a/src/components/PoolList/index.js +++ b/src/components/PoolList/index.js @@ -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 ? (