From e14c9ecb3216bedbdc4a834156b49a98f3a3c186 Mon Sep 17 00:00:00 2001 From: viet-nv Date: Wed, 29 Nov 2023 14:53:55 +0700 Subject: [PATCH] fix: balance issue --- src/components/SearchModal/CurrencyList.tsx | 1 - .../NotificationCenter/CreateAlert/CreateAlertForm.tsx | 7 +++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/components/SearchModal/CurrencyList.tsx b/src/components/SearchModal/CurrencyList.tsx index ab01f45f91..160aad28da 100644 --- a/src/components/SearchModal/CurrencyList.tsx +++ b/src/components/SearchModal/CurrencyList.tsx @@ -266,7 +266,6 @@ function CurrencyList({ style={{ ...style, ...itemStyle }} currency={currency} currencyBalance={currencyBalance} - customBalance={
} isSelected={isSelected} showFavoriteIcon={showFavoriteIcon} onSelect={onCurrencySelect} diff --git a/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx b/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx index 1656c06bd6..54f76caae6 100644 --- a/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx +++ b/src/pages/NotificationCenter/CreateAlert/CreateAlertForm.tsx @@ -211,6 +211,13 @@ export default function CreateAlert({ )} + optionRender={item => { + return ( + + {item?.label} + + ) + }} />