Fix my recent breakage
This commit is contained in:
parent
fe8c78ef2b
commit
c9925954eb
|
@ -10,7 +10,10 @@
|
|||
|
||||
(def kind :cofx)
|
||||
(assert (re-frame.registrar/kinds kind))
|
||||
(def register (partial register-handler kind))
|
||||
|
||||
(defn reg-cofx
|
||||
[id handler]
|
||||
(register-handler kind id handler))
|
||||
|
||||
|
||||
;; -- Interceptor -------------------------------------------------------------
|
||||
|
@ -55,7 +58,7 @@
|
|||
;; :db
|
||||
;;
|
||||
;; Adds to coeffects the value in `app-db`, under the key `:db`
|
||||
(register
|
||||
(reg-cofx
|
||||
:db
|
||||
(fn db-coeffects-handler
|
||||
[coeffects]
|
||||
|
|
Loading…
Reference in New Issue