use not=
This commit is contained in:
parent
c0ba70c28a
commit
7685b43049
|
@ -87,7 +87,7 @@
|
||||||
(handlers/register-handler-fx
|
(handlers/register-handler-fx
|
||||||
:update-wallet
|
:update-wallet
|
||||||
(fn [{{:keys [web3 accounts/current-account-id network network-status] :as db} :db} [_ symbols]]
|
(fn [{{:keys [web3 accounts/current-account-id network network-status] :as db} :db} [_ symbols]]
|
||||||
(when-not (= network-status :offline)
|
(when (not= network-status :offline)
|
||||||
{:get-balance {:web3 web3
|
{:get-balance {:web3 web3
|
||||||
:account-id current-account-id
|
:account-id current-account-id
|
||||||
:success-event :update-balance-success
|
:success-event :update-balance-success
|
||||||
|
@ -111,7 +111,7 @@
|
||||||
(handlers/register-handler-fx
|
(handlers/register-handler-fx
|
||||||
:update-transactions
|
:update-transactions
|
||||||
(fn [{{:keys [accounts/current-account-id network network-status] :as db} :db} _]
|
(fn [{{:keys [accounts/current-account-id network network-status] :as db} :db} _]
|
||||||
(when-not (= network-status :offline)
|
(when (not= network-status :offline)
|
||||||
{:get-transactions {:account-id current-account-id
|
{:get-transactions {:account-id current-account-id
|
||||||
:network network
|
:network network
|
||||||
:success-event :update-transactions-success
|
:success-event :update-transactions-success
|
||||||
|
|
Loading…
Reference in New Issue