Duplication issue with reg-event-db

Same problem as with reg-event-fx
This commit is contained in:
Paulus Esterhazy 2017-07-19 19:20:24 +02:00 committed by GitHub
parent 8ec5405106
commit b84afb9db3
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ you write a custom registration function -- a replacement for `reg-event-db` --
```clj
(defn my-reg-event-db ;; alternative to reg-event-db
([id handler-fn]
(my-reg-event-db id standard-interceptors handler-fn))
(re-frame.core/reg-event-db id standard-interceptors handler-fn))
([id interceptors handler-fn]
(re-frame.core/reg-event-db
id