From 7e5e3e4d51e70712ab7b4cbc899fd4c2dddf1018 Mon Sep 17 00:00:00 2001 From: saml33 Date: Thu, 8 Dec 2022 10:09:15 +1100 Subject: [PATCH] fix swap projected health --- components/swap/SwapForm.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/swap/SwapForm.tsx b/components/swap/SwapForm.tsx index 2f4050f3..3af0ef80 100644 --- a/components/swap/SwapForm.tsx +++ b/components/swap/SwapForm.tsx @@ -227,7 +227,7 @@ const SwapForm = () => { }, { mintPk: outputBank.mint, - uiTokenAmount: amountInAsDecimal.toNumber(), + uiTokenAmount: amountOutAsDecimal.toNumber(), }, ], HealthType.maint