return the actual view-system atom, not just the updated atom's value
This commit is contained in:
parent
7557762ab8
commit
8b21d12167
|
@ -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)
|
Loading…
Reference in a new issue