From 7318205b88a70c80081b7c6deb174b7155f69fb8 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Wed, 24 Feb 2016 17:22:14 +0200 Subject: [PATCH] Cosmetic changes on state init fn. --- src/uxbox/state.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/uxbox/state.cljs b/src/uxbox/state.cljs index b20610501..dcc67e16e 100644 --- a/src/uxbox/state.cljs +++ b/src/uxbox/state.cljs @@ -17,8 +17,8 @@ :projects-by-id {} :pages-by-id {}})) - (defn init "Initialize the state materialization." [] - (rx/to-atom stream state)) + (as-> stream $ + (rx/to-atom $ state)))