fix: code not saved when update

This commit is contained in:
Tienson Qin
2021-06-01 23:58:38 +08:00
parent 0d2060cccf
commit 73cea19caf

View File

@@ -174,7 +174,6 @@
:did-update (fn [state]
(when-let [editor @(:editor-atom state)]
(.setOption editor "theme" (str "solarized " (nth (state :rum/args) 4))))
(load-and-render! state)
state)}
[state config id attr code theme options]
[:div.extensions__code