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