diff --git a/src/looped_in/sidebar.cljs b/src/looped_in/sidebar.cljs index 57df177..2ee7da1 100644 --- a/src/looped_in/sidebar.cljs +++ b/src/looped_in/sidebar.cljs @@ -80,10 +80,10 @@ "Renders the new DOM This is where clever diffing algorithms would go if this was React" - [sidebar-dom] + [$sidebar-dom] (let [$container (dom/getElement "sidebarContent")] (dom/removeChildren $container) - (dom/append $container))) + (apply dom/append $container $sidebar-dom))) (defn main "Runs the model-update-view loop"