From 0a2d774b5e99f916830e100e52bb79ffc1d01cc6 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Thu, 22 Sep 2016 22:19:59 +0300 Subject: [PATCH] Initialize some state keys as nil instead of empty hash-map. --- src/uxbox/main/state.cljs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/uxbox/main/state.cljs b/src/uxbox/main/state.cljs index 705d98c8d..8cd69d80e 100644 --- a/src/uxbox/main/state.cljs +++ b/src/uxbox/main/state.cljs @@ -33,12 +33,12 @@ :undo {} :profile nil :workspace nil - :shapes-by-id {} - :elements-by-id {} - :colors-by-id {} - :icons-by-id {} - :projects-by-id {} - :pages-by-id {}}) + :shapes-by-id nil + :elements-by-id nil + :colors-by-id nil + :icons-by-id nil + :projects-by-id nil + :pages-by-id nil}) (defn init "Initialize the state materialization."