From fa5c5907024d3af2cef0d3bcc9b4e51db632c441 Mon Sep 17 00:00:00 2001 From: Eugene Chybisov Date: Wed, 6 Jul 2022 11:12:19 +0100 Subject: [PATCH] fix: show only if amount is present --- .../widget/src/components/SwapInput/FormPriceHelperText.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/widget/src/components/SwapInput/FormPriceHelperText.tsx b/packages/widget/src/components/SwapInput/FormPriceHelperText.tsx index 732a850d1..ab41e8f9f 100644 --- a/packages/widget/src/components/SwapInput/FormPriceHelperText.tsx +++ b/packages/widget/src/components/SwapInput/FormPriceHelperText.tsx @@ -54,7 +54,7 @@ export const FormPriceHelperText: React.FC< height={16} sx={{ borderRadius: 0.25 }} /> - ) : token ? ( + ) : token?.amount ? (