From a441156ff9f3de246db6481c87c8ba3c754615b2 Mon Sep 17 00:00:00 2001 From: yqrashawn Date: Wed, 29 Mar 2023 19:50:29 +0800 Subject: [PATCH] fix: crash on wallet view (#15502) --- src/status_im2/subs/wallet/wallet.cljs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/status_im2/subs/wallet/wallet.cljs b/src/status_im2/subs/wallet/wallet.cljs index ba4b090249..7a41c8232e 100644 --- a/src/status_im2/subs/wallet/wallet.cljs +++ b/src/status_im2/subs/wallet/wallet.cljs @@ -3,10 +3,10 @@ [re-frame.core :as re-frame] [status-im.ethereum.core :as ethereum] [status-im.ethereum.tokens :as tokens] - [utils.i18n :as i18n] - [status-im2.config :as config] [status-im.utils.currency :as currency] - [status-im.utils.money :as money])) + [status-im.utils.money :as money] + [status-im2.config :as config] + [utils.i18n :as i18n])) (re-frame/reg-sub :balance @@ -253,7 +253,7 @@ :wallet/currency :<- [:wallet.settings/currency] (fn [currency-id] - (get currency/currencies currency-id))) + (get currency/currencies currency-id (get currency/currencies :usd)))) (defn filter-recipient-favs [search-filter {:keys [name]}]