Merge pull request #379 from pesterhazy/patch-3
Fix typo in my-reg-event-fx function
This commit is contained in:
commit
9b49b46dd8
|
@ -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
|
||||
|
@ -212,7 +212,7 @@ and then:
|
|||
```clj
|
||||
(defn my-reg-event-fx ;; alternative to reg-event-db
|
||||
([id handler-fn]
|
||||
(my-reg-event-db id standard-interceptors-fx handler-fn))
|
||||
(re-frame.core/reg-event-fx id standard-interceptors-fx handler-fn))
|
||||
([id interceptors handler-fn]
|
||||
(re-frame.core/reg-event-fx
|
||||
id
|
||||
|
|
Loading…
Reference in New Issue