From 6e22482c646dcc154f961568badf13a09108118d Mon Sep 17 00:00:00 2001 From: uncoolzero <107518216+uncoolzero@users.noreply.github.com> Date: Tue, 24 Oct 2023 17:54:49 -0300 Subject: [PATCH] Convert - Fix Zero Input bug --- projects/ui/src/components/Silo/Actions/Convert.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/ui/src/components/Silo/Actions/Convert.tsx b/projects/ui/src/components/Silo/Actions/Convert.tsx index 5b007c5b50..21e3c060af 100644 --- a/projects/ui/src/components/Silo/Actions/Convert.tsx +++ b/projects/ui/src/components/Silo/Actions/Convert.tsx @@ -204,7 +204,7 @@ const ConvertForm: FC< } function showOutputBDV() { - return MaxBN(depositsBDV, bdvOut); + return MaxBN(depositsBDV || ZERO_BN, bdvOut || ZERO_BN); } /// When a new output token is selected, reset maxAmountIn.