move filters to button
This commit is contained in:
parent
20d7ecb8e1
commit
0792ad5ea5
|
@ -19,6 +19,5 @@
|
||||||
(defn ^:export init []
|
(defn ^:export init []
|
||||||
(re-frame/dispatch-sync [:initialize-db])
|
(re-frame/dispatch-sync [:initialize-db])
|
||||||
(re-frame/dispatch [:request-web3-async-data])
|
(re-frame/dispatch [:request-web3-async-data])
|
||||||
(re-frame/dispatch [:check-filters])
|
|
||||||
(dev-setup)
|
(dev-setup)
|
||||||
(mount-root))
|
(mount-root))
|
|
@ -53,7 +53,9 @@
|
||||||
[react/text {:selectable true} (str "Mining new contract in tx: " tx-hash)]]
|
[react/text {:selectable true} (str "Mining new contract in tx: " tx-hash)]]
|
||||||
|
|
||||||
:else
|
:else
|
||||||
[ui/button "Deploy simple contract" #(re-frame/dispatch [:deploy-contract (str (first accounts))])])]))
|
[ui/button "Deploy simple contract" #(re-frame/dispatch [:deploy-contract (str (first accounts))])])
|
||||||
|
[react/view {:style {:margin-top 30}}
|
||||||
|
[ui/button "Test filters" #(re-frame/dispatch [:check-filters])]]]))
|
||||||
|
|
||||||
(defview web3-view []
|
(defview web3-view []
|
||||||
(letsubs [{:keys [api node network ethereum whisper accounts syncing gas-price
|
(letsubs [{:keys [api node network ethereum whisper accounts syncing gas-price
|
||||||
|
|
Loading…
Reference in New Issue