require handlers in cljs ns for macroexpension

This commit is contained in:
yenda 2019-09-14 15:39:35 +02:00
parent 4f7cb549d9
commit e8e78bdec1
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
6 changed files with 5 additions and 10 deletions

View File

@ -5,7 +5,6 @@
[re-frame.core :as re-frame]
[status-im.utils.fx :as fx]
[status-im.mailserver.core :as mailserver]
[status-im.utils.handlers :as handlers]
[status-im.chaos-mode.core :as chaos-mode]
[status-im.native-module.core :as status]
[status-im.ui.screens.mobile-network-settings.events :as mobile-network]))

View File

@ -6,7 +6,6 @@
[status-im.native-module.core :as status]
[status-im.utils.config :as config]
[status-im.utils.fx :as fx]
[status-im.utils.handlers :as utils.handlers]
[status-im.utils.platform :as utils.platform]
[status-im.utils.types :as types]
[status-im.utils.utils :as utils]))

View File

@ -13,9 +13,7 @@
[status-im.utils.money :as money]
[status-im.utils.security :as security]
[status-im.utils.types :as types]
[status-im.utils.utils :as utils]
;;don't remove, used in fx macro
[status-im.utils.handlers :as handlers]))
[status-im.utils.utils :as utils]))
(re-frame/reg-fx
:signing/send-transaction-fx

View File

@ -3,7 +3,6 @@
[status-im.utils.fx :as fx]
[status-im.native-module.core :as status]
[status-im.utils.types :as types]
[status-im.utils.handlers :as utils.handlers]
[status-im.ethereum.abi-spec :as abi-spec]
[status-im.ethereum.core :as ethereum]))

View File

@ -2,7 +2,8 @@
(:require-macros status-im.utils.fx)
(:require [clojure.set :as set]
[status-im.ethereum.json-rpc :as json-rpc]
[taoensso.timbre :as log])
[taoensso.timbre :as log]
status-im.utils.handlers)
(:refer-clojure :exclude [merge]))
(defn- update-db [cofx fx]

View File

@ -8,8 +8,7 @@
[status-im.ethereum.ens :as ens]
[status-im.i18n :as i18n]
[status-im.utils.money :as money]
[status-im.utils.fx :as fx]
[status-im.utils.handlers :as handlers]))
[status-im.utils.fx :as fx]))
(fx/defn toggle-flashlight
{:events [:wallet/toggle-flashlight]}
@ -120,4 +119,4 @@
{:events [:wallet/fill-request-from-contact]}
[{db :db} {:keys [address name public-key]} request?]
{:db (fill-request-details db {:address address :name name :public-key public-key} request?)
:dispatch [:navigate-back]})
:dispatch [:navigate-back]})