diff --git a/src/status_im2/contexts/wallet/edit_account/view.cljs b/src/status_im2/contexts/wallet/edit_account/view.cljs index 4369198be49f..f9fc359db982 100644 --- a/src/status_im2/contexts/wallet/edit_account/view.cljs +++ b/src/status_im2/contexts/wallet/edit_account/view.cljs @@ -15,7 +15,7 @@ [{:keys [theme type value account]}] (let [edited-account-data (assoc account type value) message (case type - :name :t/edit-wallet-account-name-updated-message + :name :t/edit-wallet-account-name-updated-message :color :t/edit-wallet-account-colour-updated-message :emoji :t/edit-wallet-account-emoji-updated-message :prod-preferred-chain-ids diff --git a/src/status_im2/subs/wallet/wallet.cljs b/src/status_im2/subs/wallet/wallet.cljs index 10ab98cb3ccd..0a0bf1e1eac1 100644 --- a/src/status_im2/subs/wallet/wallet.cljs +++ b/src/status_im2/subs/wallet/wallet.cljs @@ -59,12 +59,12 @@ :<- [:wallet/balances] :<- [:wallet/network-details] (fn [[{:keys [current-viewing-account-address] :as wallet} balances network-details]] - (let [current-viewing-account (get-in wallet [:accounts current-viewing-account-address]) + (let [current-viewing-account (get-in wallet [:accounts current-viewing-account-address]) {:keys [prod-preferred-chain-ids]} current-viewing-account - prod-network-preferences (->> network-details - (filter-networks prod-preferred-chain-ids) - (map :network-name) - (set))] + prod-network-preferences (->> network-details + (filter-networks prod-preferred-chain-ids) + (map :network-name) + (set))] (-> current-viewing-account (assoc :balance (utils/get-balance-by-address balances current-viewing-account-address)) (assoc-in [:network-preferences :prod] prod-network-preferences)))))