diff --git a/src/hooks/useREG.ts b/src/hooks/useREG.ts index 1e3473b..f855843 100644 --- a/src/hooks/useREG.ts +++ b/src/hooks/useREG.ts @@ -11,7 +11,6 @@ import { } from 'src/store/features/settings/settingsSelector' import { REGRealtoken } from 'src/store/features/wallets/walletsSelector' import { ERC20ABI } from 'src/utils/blockchain/abi/ERC20ABI' -import { RegVaultABI } from 'src/utils/blockchain/abi/RegVaultABI' import { DEFAULT_REG_PRICE, HoneySwapFactory_Address, diff --git a/src/i18next/locales/en/common.json b/src/i18next/locales/en/common.json index d28fd25..d320bf2 100644 --- a/src/i18next/locales/en/common.json +++ b/src/i18next/locales/en/common.json @@ -388,6 +388,13 @@ "yamStatisticsPage": { "home": "Home", "title": "Secondary market statistics (Yam)", + "columns": { + "token": "Token", + "tokenPrice": "RealT price", + "yamPrice": "Yam price (30 days)", + "yamDifference": "Difference", + "yamVolume": "Volume (30 days)" + }, "filter": { "field": "Filter", "all": "All", diff --git a/src/i18next/locales/fr/common.json b/src/i18next/locales/fr/common.json index 0de21a2..44b8078 100644 --- a/src/i18next/locales/fr/common.json +++ b/src/i18next/locales/fr/common.json @@ -389,6 +389,13 @@ "yamStatisticsPage": { "home": "Accueil", "title": "Statistiques marché secondaire (Yam)", + "columns": { + "token": "Token", + "tokenPrice": "Prix RealT", + "yamPrice": "Prix Yam (30 jours)", + "yamDifference": "Différence", + "yamVolume": "Volume (30 jours)" + }, "filter": { "field": "Filtre", "all": "Toutes les propriétés", diff --git a/src/pages/yamStatistics.tsx b/src/pages/yamStatistics.tsx index 5b6ce7a..ad603a8 100644 --- a/src/pages/yamStatistics.tsx +++ b/src/pages/yamStatistics.tsx @@ -46,14 +46,15 @@ const YamStatisticsRow: React.FC<{ {tokenPriceValue} {yamPriceValue} - {yamDifferenceValue} ( - {tNumbers('percent', { value: yamDifferencePercent })}) + {yamDifferenceValue} {'('} + {tNumbers('percent', { value: yamDifferencePercent })} + {')'} {volumeValue} - + @@ -122,7 +123,7 @@ const YamStatisticsPage = () => { }, [yamStatistics, page, pageSize]) if (isLoading) { - return
Loading...
+ return
{'Loading...'}
} return ( @@ -142,11 +143,11 @@ const YamStatisticsPage = () => {
- - - - - + + + + + {paginationYamStatistics.map((statistics, index) => (
TokenToken PriceYam PriceYam Difference (30 days)Yam Volume (30 days){t('columns.token')}{t('columns.tokenPrice')}{t('columns.yamPrice')}{t('columns.yamDifference')}{t('columns.yamVolume')}