From 075f1720505d85d07ebab8cebd2d53be6001b1e1 Mon Sep 17 00:00:00 2001 From: lalitkumarrock Date: Tue, 11 Jun 2024 12:13:46 +0530 Subject: [PATCH] fixed paste token crash issue --- src/screens/Assets/ManageTokenLists.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/screens/Assets/ManageTokenLists.tsx b/src/screens/Assets/ManageTokenLists.tsx index b545b0e23a..e1da1bea24 100644 --- a/src/screens/Assets/ManageTokenLists.tsx +++ b/src/screens/Assets/ManageTokenLists.tsx @@ -103,7 +103,10 @@ export default function () { }; const isDisabled = - (isEmpty(tokensList) && query) || (!hasAgreedToTerms && !isEmpty(tokensList)) || isLoading || errorMessage; + (isEmpty(tokensList) && !isEmpty(query)) || + (!hasAgreedToTerms && !isEmpty(tokensList)) || + isLoading || + errorMessage; const buttonTitle = isEmpty(query) ? t('button.paste')