add advanced order warning
This commit is contained in:
parent
644aadb2c4
commit
c3c50263cc
|
@ -45,7 +45,7 @@ const InlineNotification: FunctionComponent<InlineNotificationProps> = ({
|
|||
<div
|
||||
className={`${
|
||||
title && desc && 'pt-1'
|
||||
} text-xs font-normal text-th-fgd-3`}
|
||||
} text-left text-xs font-normal text-th-fgd-3`}
|
||||
>
|
||||
{desc}
|
||||
</div>
|
||||
|
|
|
@ -810,6 +810,14 @@ export default function AdvancedTradeForm({
|
|||
</div>
|
||||
) : null}
|
||||
<OrderSideTabs onChange={onChangeSide} side={side} />
|
||||
{isTriggerOrder ? (
|
||||
<div className="mb-2">
|
||||
<InlineNotification
|
||||
desc={t('advanced-orders-warning')}
|
||||
type="warning"
|
||||
/>
|
||||
</div>
|
||||
) : null}
|
||||
<div className="grid grid-cols-12 gap-x-1.5 gap-y-0.5 text-left">
|
||||
<div className="col-span-12 md:col-span-6">
|
||||
<label className="text-xxs text-th-fgd-3">{t('type')}</label>
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"accounts": "Accounts",
|
||||
"add-more-sol": "Add more SOL to your wallet to avoid failed transactions.",
|
||||
"add-name": "Add Name",
|
||||
"advanced-orders-warning": "Advanced order execution may be delayed due to Solana network issues. Use them at your own risk",
|
||||
"alerts": "Alerts",
|
||||
"all-assets": "All Assets",
|
||||
"all-time": "All Time",
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"accounts": "Cuentas",
|
||||
"add-more-sol": "Agregue más SOL a su billetera para evitar transacciones fallidas.",
|
||||
"add-name": "Añadir nombre",
|
||||
"advanced-orders-warning": "Advanced order execution may be delayed due to Solana network issues. Use them at your own risk",
|
||||
"alerts": "Alertas",
|
||||
"all-assets": "Todos los activos",
|
||||
"all-time": "All Time",
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"accounts": "帐户",
|
||||
"add-more-sol": "为了避免交易出错请给被连结的钱包多存入一点SOL。",
|
||||
"add-name": "加标签",
|
||||
"advanced-orders-warning": "Advanced order execution may be delayed due to Solana network issues. Use them at your own risk",
|
||||
"alerts": "警报",
|
||||
"all-assets": "所有资产",
|
||||
"all-time": "全历史",
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"accounts": "帳戶",
|
||||
"add-more-sol": "為了避免交易出錯請給被連結的錢包多存入一點SOL。",
|
||||
"add-name": "加標籤",
|
||||
"advanced-orders-warning": "Advanced order execution may be delayed due to Solana network issues. Use them at your own risk",
|
||||
"alerts": "警報",
|
||||
"all-assets": "所有資產",
|
||||
"all-time": "全歷史",
|
||||
|
|
Loading…
Reference in New Issue