mirror of
https://github.com/status-im/status-react.git
synced 2025-02-02 14:14:39 +00:00
Fix bootnodes toggle
Signed-off-by: yenda <eric@status.im>
This commit is contained in:
parent
e87d75039e
commit
49d882ba29
@ -800,14 +800,14 @@
|
||||
:settings/bootnodes-enabled
|
||||
:<- [:multiaccount]
|
||||
:<- [:networks/current-network]
|
||||
(fn [{:keys [settings]} current-network]
|
||||
(fn [[{:keys [settings]} current-network]]
|
||||
(get-in settings [:bootnodes current-network])))
|
||||
|
||||
(re-frame/reg-sub
|
||||
:settings/network-bootnodes
|
||||
:<- [:multiaccount]
|
||||
:<- [:networks/current-network]
|
||||
(fn [multiaccount current-network]
|
||||
(fn [[multiaccount current-network]]
|
||||
(get-in multiaccount [:bootnodes current-network])))
|
||||
|
||||
(re-frame/reg-sub
|
||||
|
Loading…
x
Reference in New Issue
Block a user