:update-suggestions after command'sloading
This commit is contained in:
parent
2862af86c9
commit
a62d19c7bb
|
@ -174,8 +174,8 @@
|
||||||
(reg-handler ::add-commands
|
(reg-handler ::add-commands
|
||||||
[(after save-commands-js!)
|
[(after save-commands-js!)
|
||||||
(after save-global-command!)
|
(after save-global-command!)
|
||||||
;;(after #(dispatch [:check-and-open-dapp!]))
|
(after #(dispatch [:check-and-open-dapp!]))
|
||||||
;;(after #(dispatch [:update-suggestions]))
|
(after #(dispatch [:update-suggestions]))
|
||||||
(after (fn [_ [id]]
|
(after (fn [_ [id]]
|
||||||
(dispatch [:invoke-commands-loading-callbacks id])
|
(dispatch [:invoke-commands-loading-callbacks id])
|
||||||
(dispatch [:invoke-chat-loaded-callbacks id])))
|
(dispatch [:invoke-chat-loaded-callbacks id])))
|
||||||
|
|
|
@ -48,3 +48,4 @@
|
||||||
(defn web3-init [provider-address]
|
(defn web3-init [provider-address]
|
||||||
(str "var providerAddress = \"" provider-address "\";"
|
(str "var providerAddress = \"" provider-address "\";"
|
||||||
(slurp "resources/web3_init.js")))
|
(slurp "resources/web3_init.js")))
|
||||||
|
;;
|
Loading…
Reference in New Issue