update page url
This commit is contained in:
parent
37182855c2
commit
a249080b7b
|
@ -142,11 +142,11 @@ const SideNav = ({ collapsed }: { collapsed: boolean }) => {
|
||||||
showTooltip={false}
|
showTooltip={false}
|
||||||
/>
|
/>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
active={pathname === '/governance/list-market-or-token'}
|
active={pathname === '/governance/list'}
|
||||||
collapsed={false}
|
collapsed={false}
|
||||||
icon={<PlusCircleIcon className="h-5 w-5" />}
|
icon={<PlusCircleIcon className="h-5 w-5" />}
|
||||||
title={t('common:list-market-token')}
|
title={t('common:list-market-token')}
|
||||||
pagePath="/governance/list-market-or-token"
|
pagePath="/governance/list"
|
||||||
hideIconBg
|
hideIconBg
|
||||||
showTooltip={false}
|
showTooltip={false}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -243,7 +243,7 @@ const ListMarket = ({ goBack }: { goBack: () => void }) => {
|
||||||
<div className="mb-6">
|
<div className="mb-6">
|
||||||
<div className="rounded-lg border border-th-bkg-3 px-4 pt-6 pb-2">
|
<div className="rounded-lg border border-th-bkg-3 px-4 pt-6 pb-2">
|
||||||
<h2 className="mb-3 px-2 text-base">
|
<h2 className="mb-3 px-2 text-base">
|
||||||
{t('market-name')}{' '}
|
{t('market-pair')}{' '}
|
||||||
{baseToken && quoteToken
|
{baseToken && quoteToken
|
||||||
? `- ${formatTokenSymbol(baseToken)}/${formatTokenSymbol(
|
? `- ${formatTokenSymbol(baseToken)}/${formatTokenSymbol(
|
||||||
quoteToken
|
quoteToken
|
||||||
|
|
|
@ -144,7 +144,7 @@ const MoreMenuPanel = ({
|
||||||
/>
|
/>
|
||||||
<MoreMenuItem
|
<MoreMenuItem
|
||||||
title={t('common:list-market-token')}
|
title={t('common:list-market-token')}
|
||||||
path="/governance/list-market-or-token"
|
path="/governance/list"
|
||||||
icon={<PlusCircleIcon className="h-5 w-5" />}
|
icon={<PlusCircleIcon className="h-5 w-5" />}
|
||||||
/>
|
/>
|
||||||
<MoreMenuItem
|
<MoreMenuItem
|
||||||
|
|
|
@ -91,6 +91,7 @@
|
||||||
"leverage": "Leverage",
|
"leverage": "Leverage",
|
||||||
"liability-weight": "Liability Weight",
|
"liability-weight": "Liability Weight",
|
||||||
"liquidity": "Liquidity",
|
"liquidity": "Liquidity",
|
||||||
|
"list-market": "List Market",
|
||||||
"loading": "Loading",
|
"loading": "Loading",
|
||||||
"loan-origination-fee": "Borrow Fee",
|
"loan-origination-fee": "Borrow Fee",
|
||||||
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
|
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
|
||||||
|
@ -174,7 +175,6 @@
|
||||||
"withdraw-amount": "Withdraw Amount",
|
"withdraw-amount": "Withdraw Amount",
|
||||||
"list-market-token": "List Market/Token",
|
"list-market-token": "List Market/Token",
|
||||||
"vote": "Vote",
|
"vote": "Vote",
|
||||||
"yes": "Yes",
|
"yes": "Yes"
|
||||||
"list-market": "List Market"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,5 +97,6 @@
|
||||||
"create-openbook": "Create Openbook Market",
|
"create-openbook": "Create Openbook Market",
|
||||||
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
|
"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": "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"
|
||||||
}
|
}
|
|
@ -91,6 +91,7 @@
|
||||||
"leverage": "Leverage",
|
"leverage": "Leverage",
|
||||||
"liability-weight": "Liability Weight",
|
"liability-weight": "Liability Weight",
|
||||||
"liquidity": "Liquidity",
|
"liquidity": "Liquidity",
|
||||||
|
"list-market": "List Market",
|
||||||
"loading": "Loading",
|
"loading": "Loading",
|
||||||
"loan-origination-fee": "Borrow Fee",
|
"loan-origination-fee": "Borrow Fee",
|
||||||
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
|
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
|
||||||
|
@ -174,7 +175,6 @@
|
||||||
"withdraw-amount": "Withdraw Amount",
|
"withdraw-amount": "Withdraw Amount",
|
||||||
"list-market-token": "List Market/Token",
|
"list-market-token": "List Market/Token",
|
||||||
"vote": "Vote",
|
"vote": "Vote",
|
||||||
"yes": "Yes",
|
"yes": "Yes"
|
||||||
"list-market": "List Market"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,5 +97,6 @@
|
||||||
"create-openbook": "Create Openbook Market",
|
"create-openbook": "Create Openbook Market",
|
||||||
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
|
"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": "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"
|
||||||
}
|
}
|
|
@ -91,6 +91,7 @@
|
||||||
"leverage": "Leverage",
|
"leverage": "Leverage",
|
||||||
"liability-weight": "Liability Weight",
|
"liability-weight": "Liability Weight",
|
||||||
"liquidity": "Liquidity",
|
"liquidity": "Liquidity",
|
||||||
|
"list-market": "List Market",
|
||||||
"loading": "Loading",
|
"loading": "Loading",
|
||||||
"loan-origination-fee": "Borrow Fee",
|
"loan-origination-fee": "Borrow Fee",
|
||||||
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
|
"loan-origination-fee-tooltip": "{{fee}} fee for opening a borrow",
|
||||||
|
@ -174,7 +175,6 @@
|
||||||
"withdraw-amount": "Withdraw Amount",
|
"withdraw-amount": "Withdraw Amount",
|
||||||
"list-market-token": "List Market/Token",
|
"list-market-token": "List Market/Token",
|
||||||
"vote": "Vote",
|
"vote": "Vote",
|
||||||
"yes": "Yes",
|
"yes": "Yes"
|
||||||
"list-market": "List Market"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,5 +97,6 @@
|
||||||
"create-openbook": "Create Openbook Market",
|
"create-openbook": "Create Openbook Market",
|
||||||
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
|
"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": "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"
|
||||||
}
|
}
|
|
@ -91,6 +91,7 @@
|
||||||
"leverage": "杠杆",
|
"leverage": "杠杆",
|
||||||
"liability-weight": "债务权重",
|
"liability-weight": "债务权重",
|
||||||
"liquidity": "流动性",
|
"liquidity": "流动性",
|
||||||
|
"list-market": "List Market",
|
||||||
"loading": "加载中",
|
"loading": "加载中",
|
||||||
"loan-origination-fee": "借贷费用",
|
"loan-origination-fee": "借贷费用",
|
||||||
"loan-origination-fee-tooltip": "执行借贷费用是{{fee}}。",
|
"loan-origination-fee-tooltip": "执行借贷费用是{{fee}}。",
|
||||||
|
@ -174,7 +175,6 @@
|
||||||
"withdraw-amount": "取款额",
|
"withdraw-amount": "取款额",
|
||||||
"list-market-token": "List Market/Token",
|
"list-market-token": "List Market/Token",
|
||||||
"vote": "投票",
|
"vote": "投票",
|
||||||
"yes": "是",
|
"yes": "是"
|
||||||
"list-market": "List Market"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,5 +97,6 @@
|
||||||
"create-openbook": "Create Openbook Market",
|
"create-openbook": "Create Openbook Market",
|
||||||
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
|
"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": "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"
|
||||||
}
|
}
|
|
@ -91,6 +91,7 @@
|
||||||
"leverage": "槓桿",
|
"leverage": "槓桿",
|
||||||
"liability-weight": "債務權重",
|
"liability-weight": "債務權重",
|
||||||
"liquidity": "流動性",
|
"liquidity": "流動性",
|
||||||
|
"list-market": "List Market",
|
||||||
"loading": "加載中",
|
"loading": "加載中",
|
||||||
"loan-origination-fee": "借貸費用",
|
"loan-origination-fee": "借貸費用",
|
||||||
"loan-origination-fee-tooltip": "執行借貸費用是{{fee}}。",
|
"loan-origination-fee-tooltip": "執行借貸費用是{{fee}}。",
|
||||||
|
@ -174,6 +175,5 @@
|
||||||
"withdraw-amount": "取款額",
|
"withdraw-amount": "取款額",
|
||||||
"list-market-token": "List Market/Token",
|
"list-market-token": "List Market/Token",
|
||||||
"vote": "投票",
|
"vote": "投票",
|
||||||
"yes": "是",
|
"yes": "是"
|
||||||
"list-market": "List Market"
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -97,5 +97,6 @@
|
||||||
"create-openbook": "Create Openbook Market",
|
"create-openbook": "Create Openbook Market",
|
||||||
"create-market-sol-cost": "The transaction cost for listing on Openbook is ~{{cost}} SOL",
|
"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": "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"
|
||||||
}
|
}
|
Loading…
Reference in New Issue