Fix my recent breakage

This commit is contained in:
Mike Thompson 2017-07-22 10:45:44 +10:00
parent fe8c78ef2b
commit c9925954eb
1 changed files with 5 additions and 2 deletions

View File

@ -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]