ensure that bool value is set to refreshing prop
This commit is contained in:
parent
f36dca3b5c
commit
a0872fb1bf
|
@ -121,7 +121,7 @@
|
|||
{:data (conj assets {}) ;; Extra map triggers rendering for add-asset
|
||||
:render-fn render-asset
|
||||
:on-refresh #(rf/dispatch [:update-wallet])
|
||||
:refreshing (or prices-loading? balance-loading?)}]]))
|
||||
:refreshing (boolean (or prices-loading? balance-loading?))}]]))
|
||||
|
||||
(defview wallet []
|
||||
(letsubs [eth-balance [:eth-balance]
|
||||
|
|
|
@ -100,7 +100,7 @@
|
|||
:render-fn render-transaction
|
||||
:empty-component (empty-text (i18n/label :t/transactions-history-empty))
|
||||
:on-refresh #(re-frame/dispatch [:update-transactions])
|
||||
:refreshing transactions-loading?}]]))
|
||||
:refreshing (boolean transactions-loading?)}]]))
|
||||
|
||||
(defview unsigned-list []
|
||||
[]
|
||||
|
|
Loading…
Reference in New Issue