Skip to content

Commit

Permalink
Fix linter issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Rende11 committed Nov 9, 2023
1 parent cdde536 commit 008c206
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/status_im2/contexts/wallet/edit_account/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions src/status_im2/subs/wallet/wallet.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -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)))))
Expand Down

0 comments on commit 008c206

Please sign in to comment.