We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68366d9 commit d891aabCopy full SHA for d891aab
src/status_im/contexts/wallet/home/view.cljs
@@ -82,10 +82,10 @@
82
83
(defn- call-to-actions
84
[]
85
- (let [account-cards-data (rf/sub [:wallet/account-cards-data])
+ (let [operable-accounts (rf/sub [:wallet/operable-accounts])
86
testnet-mode? (rf/sub [:profile/test-networks-enabled?])
87
- multiple-accounts? (> (count account-cards-data) 1)
88
- first-account-address (:address (first account-cards-data))
+ multiple-accounts? (> (count operable-accounts) 1)
+ first-account-address (:address (first operable-accounts))
89
on-send-press (rn/use-callback
90
(fn []
91
(rf/dispatch [:wallet/clean-send-data])
0 commit comments