update page url

This commit is contained in:
saml33 2023-05-29 19:41:39 +10:00
parent 37182855c2
commit a249080b7b
14 changed files with 24 additions and 19 deletions

View File

@ -142,11 +142,11 @@ const SideNav = ({ collapsed }: { collapsed: boolean }) => {
showTooltip={false}
/>
<MenuItem
active={pathname === '/governance/list-market-or-token'}
active={pathname === '/governance/list'}
collapsed={false}
icon={<PlusCircleIcon className="h-5 w-5" />}
title={t('common:list-market-token')}
pagePath="/governance/list-market-or-token"
pagePath="/governance/list"
hideIconBg
showTooltip={false}
/>

View File

@ -243,7 +243,7 @@ const ListMarket = ({ goBack }: { goBack: () => void }) => {
<div className="mb-6">
<div className="rounded-lg border border-th-bkg-3 px-4 pt-6 pb-2">
<h2 className="mb-3 px-2 text-base">
{t('market-name')}{' '}
{t('market-pair')}{' '}
{baseToken && quoteToken
? `- ${formatTokenSymbol(baseToken)}/${formatTokenSymbol(
quoteToken

View File

@ -144,7 +144,7 @@ const MoreMenuPanel = ({
/>
<MoreMenuItem
title={t('common:list-market-token')}
path="/governance/list-market-or-token"
path="/governance/list"
icon={<PlusCircleIcon className="h-5 w-5" />}
/>
<MoreMenuItem

View File

@ -91,6 +91,7 @@
"leverage": "Leverage",
"liability-weight": "Liability Weight",
"liquidity": "Liquidity",
"list-market": "List Market",
"loading": "Loading",
"loan-origination-fee": "Borrow Fee",
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
@ -174,7 +175,6 @@
"withdraw-amount": "Withdraw Amount",
"list-market-token": "List Market/Token",
"vote": "Vote",
"yes": "Yes",
"list-market": "List Market"
"yes": "Yes"
}

View File

@ -97,5 +97,6 @@
"create-openbook": "Create Openbook Market",
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
"no-openbook-found": "An Openbook market is required for {{market}}",
"no-openbook-found-desc": "Create an Openbook market to propose listing"
"no-openbook-found-desc": "Create an Openbook market to propose listing",
"market-pair": "Market Pair"
}

View File

@ -91,6 +91,7 @@
"leverage": "Leverage",
"liability-weight": "Liability Weight",
"liquidity": "Liquidity",
"list-market": "List Market",
"loading": "Loading",
"loan-origination-fee": "Borrow Fee",
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
@ -174,7 +175,6 @@
"withdraw-amount": "Withdraw Amount",
"list-market-token": "List Market/Token",
"vote": "Vote",
"yes": "Yes",
"list-market": "List Market"
"yes": "Yes"
}

View File

@ -97,5 +97,6 @@
"create-openbook": "Create Openbook Market",
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
"no-openbook-found": "An Openbook market is required for {{market}}",
"no-openbook-found-desc": "Create an Openbook market to propose listing"
"no-openbook-found-desc": "Create an Openbook market to propose listing",
"market-pair": "Market Pair"
}

View File

@ -91,6 +91,7 @@
"leverage": "Leverage",
"liability-weight": "Liability Weight",
"liquidity": "Liquidity",
"list-market": "List Market",
"loading": "Loading",
"loan-origination-fee": "Borrow Fee",
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
@ -174,7 +175,6 @@
"withdraw-amount": "Withdraw Amount",
"list-market-token": "List Market/Token",
"vote": "Vote",
"yes": "Yes",
"list-market": "List Market"
"yes": "Yes"
}

View File

@ -97,5 +97,6 @@
"create-openbook": "Create Openbook Market",
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
"no-openbook-found": "An Openbook market is required for {{market}}",
"no-openbook-found-desc": "Create an Openbook market to propose listing"
"no-openbook-found-desc": "Create an Openbook market to propose listing",
"market-pair": "Market Pair"
}

View File

@ -91,6 +91,7 @@
"leverage": "杠杆",
"liability-weight": "债务权重",
"liquidity": "流动性",
"list-market": "List Market",
"loading": "加载中",
"loan-origination-fee": "借贷费用",
"loan-origination-fee-tooltip": "执行借贷费用是{{fee}}。",
@ -174,7 +175,6 @@
"withdraw-amount": "取款额",
"list-market-token": "List Market/Token",
"vote": "投票",
"yes": "是",
"list-market": "List Market"
"yes": "是"
}

View File

@ -97,5 +97,6 @@
"create-openbook": "Create Openbook Market",
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
"no-openbook-found": "An Openbook market is required for {{market}}",
"no-openbook-found-desc": "Create an Openbook market to propose listing"
"no-openbook-found-desc": "Create an Openbook market to propose listing",
"market-pair": "Market Pair"
}

View File

@ -91,6 +91,7 @@
"leverage": "槓桿",
"liability-weight": "債務權重",
"liquidity": "流動性",
"list-market": "List Market",
"loading": "加載中",
"loan-origination-fee": "借貸費用",
"loan-origination-fee-tooltip": "執行借貸費用是{{fee}}。",
@ -174,6 +175,5 @@
"withdraw-amount": "取款額",
"list-market-token": "List Market/Token",
"vote": "投票",
"yes": "是",
"list-market": "List Market"
"yes": "是"
}

View File

@ -97,5 +97,6 @@
"create-openbook": "Create Openbook Market",
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
"no-openbook-found": "An Openbook market is required for {{market}}",
"no-openbook-found-desc": "Create an Openbook market to propose listing"
"no-openbook-found-desc": "Create an Openbook market to propose listing",
"market-pair": "Market Pair"
}