From 1d060d1a50806da82cb4b710ce34df53e68d7712 Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Sat, 9 Jul 2016 15:03:41 +0300 Subject: [PATCH] Cosmetic fixe on project state functions. --- src/uxbox/main/state/project.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/uxbox/main/state/project.cljs b/src/uxbox/main/state/project.cljs index faa4f9722..56b1b39da 100644 --- a/src/uxbox/main/state/project.cljs +++ b/src/uxbox/main/state/project.cljs @@ -56,7 +56,7 @@ (assoc :shapes shapes))] (-> state (update :shapes-by-id merge shapes-by-id) - (update-in [:pages-by-id] assoc (:id page) page)))) + (update :pages-by-id assoc (:id page) page)))) (defn purge-page "Remove page and all related stuff from the state."