From 8f30a4d6a0caa4fefa348abdb8f57b4d33a25587 Mon Sep 17 00:00:00 2001 From: Martin Homola Date: Fri, 17 Jan 2025 17:21:11 +0100 Subject: [PATCH] fix(trade): delete limits after change currency --- .../CoinmarketFormInput/CoinmarketFormInputCryptoSelect.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/suite/src/views/wallet/coinmarket/common/CoinmarketForm/CoinmarketFormInput/CoinmarketFormInputCryptoSelect.tsx b/packages/suite/src/views/wallet/coinmarket/common/CoinmarketForm/CoinmarketFormInput/CoinmarketFormInputCryptoSelect.tsx index f5324a6424e..10e5c621e99 100644 --- a/packages/suite/src/views/wallet/coinmarket/common/CoinmarketForm/CoinmarketFormInput/CoinmarketFormInputCryptoSelect.tsx +++ b/packages/suite/src/views/wallet/coinmarket/common/CoinmarketForm/CoinmarketFormInput/CoinmarketFormInputCryptoSelect.tsx @@ -151,6 +151,7 @@ export const CoinmarketFormInputCryptoSelect = < context.setValue(FORM_CRYPTO_CURRENCY_SELECT, findOption); } + context.setAmountLimits(undefined); setIsModalActive(false); };