tab empty state text
This commit is contained in:
parent
da50977eac
commit
408f738720
|
@ -17,14 +17,14 @@ const NOTIFICATION_POSITIONS = [
|
|||
|
||||
const LANGS = [
|
||||
{ locale: 'en', name: 'english', description: 'english' },
|
||||
{ locale: 'ru', name: 'russian', description: 'russian' },
|
||||
{ locale: 'es', name: 'spanish', description: 'spanish' },
|
||||
{
|
||||
locale: 'zh_tw',
|
||||
name: 'chinese-traditional',
|
||||
description: 'traditional chinese',
|
||||
},
|
||||
{ locale: 'zh', name: 'chinese', description: 'simplified chinese' },
|
||||
// { locale: 'ru', name: 'russian', description: 'russian' },
|
||||
// { locale: 'es', name: 'spanish', description: 'spanish' },
|
||||
// {
|
||||
// locale: 'zh_tw',
|
||||
// name: 'chinese-traditional',
|
||||
// description: 'traditional chinese',
|
||||
// },
|
||||
// { locale: 'zh', name: 'chinese', description: 'simplified chinese' },
|
||||
]
|
||||
|
||||
export const THEMES = [
|
||||
|
|
|
@ -14,7 +14,6 @@ import { PublicKey } from '@solana/web3.js'
|
|||
import mangoStore from '@store/mangoStore'
|
||||
import useMangoAccount from 'hooks/useMangoAccount'
|
||||
import useSelectedMarket from 'hooks/useSelectedMarket'
|
||||
import { useTranslation } from 'next-i18next'
|
||||
import { useMemo } from 'react'
|
||||
import { formatDecimal } from 'utils/numbers'
|
||||
import TableMarketName from './TableMarketName'
|
||||
|
@ -83,7 +82,6 @@ const formatTradeHistory = (mangoAccountPk: PublicKey, tradeHistory: any[]) => {
|
|||
}
|
||||
|
||||
const TradeHistory = () => {
|
||||
const { t } = useTranslation(['common', 'trade'])
|
||||
const { connected } = useWallet()
|
||||
const { selectedMarket } = useSelectedMarket()
|
||||
const { mangoAccount } = useMangoAccount()
|
||||
|
@ -201,7 +199,7 @@ const TradeHistory = () => {
|
|||
) : (
|
||||
<div className="flex flex-col items-center p-8">
|
||||
<LinkIcon className="mb-2 h-6 w-6 text-th-fgd-4" />
|
||||
<p>{t('trade:connect-positions')}</p>
|
||||
<p>Connect to view your trade history</p>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"book": "Book",
|
||||
"cancel-order-error": "Failed to cancel order",
|
||||
"connect-orders": "Connect to view your open orders",
|
||||
"connect-positions": "Connect to view your positions",
|
||||
"connect-positions": "Connect to view your perp positions",
|
||||
"connect-unsettled": "Connect to view your unsettled funds",
|
||||
"entry-price": "Entry Price",
|
||||
"est-slippage": "Est. Slippage",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"book": "Book",
|
||||
"cancel-order-error": "Failed to cancel order",
|
||||
"connect-orders": "Connect to view your open orders",
|
||||
"connect-positions": "Connect to view your positions",
|
||||
"connect-positions": "Connect to view your perp positions",
|
||||
"connect-unsettled": "Connect to view your unsettled funds",
|
||||
"entry-price": "Entry Price",
|
||||
"est-slippage": "Est. Slippage",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"book": "Book",
|
||||
"cancel-order-error": "Failed to cancel order",
|
||||
"connect-orders": "Connect to view your open orders",
|
||||
"connect-positions": "Connect to view your positions",
|
||||
"connect-positions": "Connect to view your perp positions",
|
||||
"connect-unsettled": "Connect to view your unsettled funds",
|
||||
"entry-price": "Entry Price",
|
||||
"est-slippage": "Est. Slippage",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"book": "Book",
|
||||
"cancel-order-error": "Failed to cancel order",
|
||||
"connect-orders": "Connect to view your open orders",
|
||||
"connect-positions": "Connect to view your positions",
|
||||
"connect-positions": "Connect to view your perp positions",
|
||||
"connect-unsettled": "Connect to view your unsettled funds",
|
||||
"entry-price": "Entry Price",
|
||||
"est-slippage": "Est. Slippage",
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"book": "Book",
|
||||
"cancel-order-error": "Failed to cancel order",
|
||||
"connect-orders": "Connect to view your open orders",
|
||||
"connect-positions": "Connect to view your positions",
|
||||
"connect-positions": "Connect to view your perp positions",
|
||||
"connect-unsettled": "Connect to view your unsettled funds",
|
||||
"entry-price": "Entry Price",
|
||||
"est-slippage": "Est. Slippage",
|
||||
|
|
Loading…
Reference in New Issue