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)))