return the actual view-system atom, not just the updated atom's value

This commit is contained in:
Gered 2016-05-30 19:06:11 -04:00
parent 7557762ab8
commit 8b21d12167

View file

@ -43,4 +43,5 @@
(defn set-context-fn! (defn set-context-fn!
[^Atom view-system f] [^Atom view-system f]
(swap! view-system assoc-in [:reagent-data-views :context-fn] f)) (swap! view-system assoc-in [:reagent-data-views :context-fn] f)
view-system)