diff --git a/libs/deal-ticket/src/components/deal-ticket-validation/validate-margin.tsx b/libs/deal-ticket/src/components/deal-ticket-validation/validate-margin.tsx index 39c574eac..39c73cde3 100644 --- a/libs/deal-ticket/src/components/deal-ticket-validation/validate-margin.tsx +++ b/libs/deal-ticket/src/components/deal-ticket-validation/validate-margin.tsx @@ -1,6 +1,6 @@ import { DepositContainer } from '@vegaprotocol/deposits'; import { normalizeFormatNumber, t } from '@vegaprotocol/react-helpers'; -import { Button, Dialog } from '@vegaprotocol/ui-toolkit'; +import { ButtonLink, Dialog } from '@vegaprotocol/ui-toolkit'; import React from 'react'; import { useState } from 'react'; @@ -26,8 +26,14 @@ export const ValidateMargin = ({ className="flex flex-col center pb-3" data-testid="deal-ticket-margin-invalidated" > -
- {t("You don't have enough margin available to open this position.")} +
+ {t("You don't have enough margin available to open this position.")}{' '}
+
{`${normalizeFormatNumber(margin, decimals)} ${symbol} ${t( @@ -36,15 +42,6 @@ export const ValidateMargin = ({ 'available' )}`}
-