meant to use reset! here of course ...

This commit is contained in:
Gered 2016-05-19 18:08:46 -04:00
parent 74fa65feaf
commit f38dbcb73e

View file

@ -8,7 +8,7 @@
as the client/server messaging backend. should be called once on page load before as the client/server messaging backend. should be called once on page load before
browserchannel is initialized." browserchannel is initialized."
[] []
(swap! client/send-fn (reset! client/send-fn
(fn [data] (fn [data]
(browserchannel/send-data! data)))) (browserchannel/send-data! data))))