fix(withdraws): link to the withdrawal limits (#3914)
This commit is contained in:
parent
babd99088d
commit
589785ce09
@ -71,6 +71,7 @@ export const DocsLinks = VEGA_DOCS_URL
|
|||||||
LOSS_SOCIALIZATION: `${VEGA_DOCS_URL}/concepts/trading-on-vega/market-protections#loss-socialisation`,
|
LOSS_SOCIALIZATION: `${VEGA_DOCS_URL}/concepts/trading-on-vega/market-protections#loss-socialisation`,
|
||||||
POSITION_RESOLUTION: `${VEGA_DOCS_URL}/concepts/trading-on-vega/market-protections#position-resolution`,
|
POSITION_RESOLUTION: `${VEGA_DOCS_URL}/concepts/trading-on-vega/market-protections#position-resolution`,
|
||||||
LIQUIDITY: `${VEGA_DOCS_URL}/concepts/liquidity/provision`,
|
LIQUIDITY: `${VEGA_DOCS_URL}/concepts/liquidity/provision`,
|
||||||
|
WITHDRAWAL_LIMITS: `${VEGA_DOCS_URL}/concepts/assets/deposits-withdrawals#withdrawal-limits`,
|
||||||
}
|
}
|
||||||
: undefined;
|
: undefined;
|
||||||
|
|
||||||
|
@ -34,6 +34,7 @@ import {
|
|||||||
useWeb3Disconnect,
|
useWeb3Disconnect,
|
||||||
} from '@vegaprotocol/web3';
|
} from '@vegaprotocol/web3';
|
||||||
import { AssetBalance } from './asset-balance';
|
import { AssetBalance } from './asset-balance';
|
||||||
|
import { DocsLinks } from '@vegaprotocol/environment';
|
||||||
|
|
||||||
interface FormFields {
|
interface FormFields {
|
||||||
asset: string;
|
asset: string;
|
||||||
@ -83,12 +84,13 @@ const WithdrawDelayNotification = ({
|
|||||||
formatNumber(threshold, decimals),
|
formatNumber(threshold, decimals),
|
||||||
...replacements,
|
...replacements,
|
||||||
]),
|
]),
|
||||||
<ExternalLink
|
DocsLinks?.WITHDRAWAL_LIMITS ? (
|
||||||
className="ml-1"
|
<ExternalLink className="ml-1" href={DocsLinks.WITHDRAWAL_LIMITS}>
|
||||||
href="https://docs.vega.xyz/testnet/concepts/deposits-withdrawals#withdrawal-limits"
|
{t('Read more')}
|
||||||
>
|
</ExternalLink>
|
||||||
{t('Read more')}
|
) : (
|
||||||
</ExternalLink>,
|
''
|
||||||
|
),
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user