From 205962f5823587132523ebad2e8c38e890470230 Mon Sep 17 00:00:00 2001 From: Brian Sztamfater Date: Thu, 4 Jan 2024 11:58:35 -0300 Subject: [PATCH] fix: error is shown when asset is selected on select assets screen (#18326) Signed-off-by: Brian Sztamfater --- src/status_im/contexts/wallet/send/input_amount/view.cljs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/status_im/contexts/wallet/send/input_amount/view.cljs b/src/status_im/contexts/wallet/send/input_amount/view.cljs index fe7452808b..5507959cf3 100644 --- a/src/status_im/contexts/wallet/send/input_amount/view.cljs +++ b/src/status_im/contexts/wallet/send/input_amount/view.cljs @@ -16,7 +16,11 @@ (defn- make-limit-label [{:keys [amount currency]}] - (str amount " " (string/upper-case (name currency)))) + (str amount + " " + (some-> currency + name + string/upper-case))) (def not-digits-or-dot-pattern #"[^0-9+\.]")