Browse Source

fix: code not saved when update

Tienson Qin 4 years ago
parent
commit
73cea19caf
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/main/frontend/extensions/code.cljs

+ 0 - 1
src/main/frontend/extensions/code.cljs

@@ -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