update open interest chart title

This commit is contained in:
saml33 2023-08-17 22:45:01 +10:00
parent c079d170c8
commit 1dd92446ce
6 changed files with 7 additions and 2 deletions

View File

@ -27,7 +27,7 @@ interface PerpStatsData {
}
const MangoPerpStatsCharts = () => {
const { t } = useTranslation(['common', 'token', 'trade'])
const { t } = useTranslation(['common', 'stats', 'token', 'trade'])
const loadingPerpStats = mangoStore((s) => s.perpStats.loading)
const perpStats = mangoStore((s) => s.perpStats.data)
const [feesDaysToShow, setFeesDaysToShow] = useState('30')
@ -129,7 +129,7 @@ const MangoPerpStatsCharts = () => {
loaderHeightClass="h-[350px]"
prefix="$"
tickFormat={(x) => `$${formatYAxis(x)}`}
title={t('trade:open-interest')}
title={t('stats:perp-open-interest')}
xKey="date"
yKey={'openInterest'}
/>

View File

@ -5,6 +5,7 @@
"hourly": "Hourly",
"largest-perp-positions": "Largest Positions",
"perp-details": "{{market}} Stats",
"perp-open-interest": "Perp Open Interest",
"perp-volume": "Perp Volume",
"pnl-liquidation-fee": "Positive PnL Liquidation Fee",
"settle-pnl-factor": "Settle PnL Factor",

View File

@ -5,6 +5,7 @@
"hourly": "Hourly",
"largest-perp-positions": "Largest Positions",
"perp-details": "{{market}} Stats",
"perp-open-interest": "Perp Open Interest",
"perp-volume": "Perp Volume",
"pnl-liquidation-fee": "Positive PnL Liquidation Fee",
"settle-pnl-factor": "Settle PnL Factor",

View File

@ -5,6 +5,7 @@
"hourly": "Hourly",
"largest-perp-positions": "Largest Positions",
"perp-details": "{{market}} Stats",
"perp-open-interest": "Perp Open Interest",
"perp-volume": "Perp Volume",
"pnl-liquidation-fee": "Positive PnL Liquidation Fee",
"settle-pnl-factor": "Settle PnL Factor",

View File

@ -5,6 +5,7 @@
"hourly": "小时",
"largest-perp-positions": "Largest Positions",
"perp-details": "{{market}}统计",
"perp-open-interest": "Perp Open Interest",
"perp-volume": "Perp Volume",
"pnl-liquidation-fee": "正数盈亏清算费用",
"settle-pnl-factor": "结清盈亏因素",

View File

@ -5,6 +5,7 @@
"hourly": "小時",
"largest-perp-positions": "Largest Positions",
"perp-details": "{{market}}統計",
"perp-open-interest": "Perp Open Interest",
"perp-volume": "Perp Volume",
"pnl-liquidation-fee": "正數盈虧清算費用",
"settle-pnl-factor": "結清盈虧因素",