diff --git a/libs/environment/src/hooks/use-links.ts b/libs/environment/src/hooks/use-links.ts index eb907702b..9f3aa1120 100644 --- a/libs/environment/src/hooks/use-links.ts +++ b/libs/environment/src/hooks/use-links.ts @@ -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; diff --git a/libs/withdraws/src/lib/withdraw-form.tsx b/libs/withdraws/src/lib/withdraw-form.tsx index bdfd49603..2e132ac81 100644 --- a/libs/withdraws/src/lib/withdraw-form.tsx +++ b/libs/withdraws/src/lib/withdraw-form.tsx @@ -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, ]), - - {t('Read more')} - , + DocsLinks?.WITHDRAWAL_LIMITS ? ( + + {t('Read more')} + + ) : ( + '' + ), ]} /> );