Refactor render-traces

This commit is contained in:
Saskia Lindner 2017-08-01 15:29:59 +02:00
parent 8bfb1994e0
commit 13be234bf0
1 changed files with 2 additions and 2 deletions

View File

@ -279,9 +279,9 @@
[:button {:class (str "tab " (when (= @selected-tab :subvis) "active"))
:on-click #(reset! selected-tab :subvis)} "SubVis"]
(case @selected-tab
:traces [render-traces]
:traces [render-trace-panel]
:subvis [subvis/render-subvis traces]
[render-traces])]]]))})))
[render-trace-panel])]]]))})))
(defn panel-div []
(let [id "--re-frame-trace--"