From 93d85ed17cb553d5894d6f899536b7df217eae43 Mon Sep 17 00:00:00 2001 From: DMY <147dmy@gmail.com> Date: Mon, 11 Nov 2024 15:33:14 +0800 Subject: [PATCH] feat: low credit toToken redirect to sign page --- 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 2d7f55a4fe2..e5427382907 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