From 2d78ab43abc79931f64560d85dd5890d14f81b06 Mon Sep 17 00:00:00 2001 From: DMY <147dmy@gmail.com> Date: Mon, 11 Nov 2024 15:47:31 +0800 Subject: [PATCH] feat: low credit toToken redirect to sign page (#2616) --- src/ui/views/Swap/Component/Main.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ui/views/Swap/Component/Main.tsx b/src/ui/views/Swap/Component/Main.tsx index e10cac955f9..557e10cf06f 100644 --- a/src/ui/views/Swap/Component/Main.tsx +++ b/src/ui/views/Swap/Component/Main.tsx @@ -401,6 +401,7 @@ export const Main = () => { KEYRING_TYPE.HdKeyring, KEYRING_CLASS.HARDWARE.LEDGER, ].includes((currentAccount?.type || '') as any) && + !receiveToken?.low_credit_score && !isSlippageHigh && !isSlippageLow && !showLoss