fix: error is shown when asset is selected on select assets screen (#18326)

Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
Brian Sztamfater 2024-01-04 11:58:35 -03:00 committed by GitHub
parent d64508a74a
commit 205962f582
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions

View File

@ -16,7 +16,11 @@
(defn- make-limit-label (defn- make-limit-label
[{:keys [amount currency]}] [{:keys [amount currency]}]
(str amount " " (string/upper-case (name currency)))) (str amount
" "
(some-> currency
name
string/upper-case)))
(def not-digits-or-dot-pattern (def not-digits-or-dot-pattern
#"[^0-9+\.]") #"[^0-9+\.]")