Tienson Qin 1 год назад
Родитель
Сommit
7b9acaa370
2 измененных файлов с 2 добавлено и 3 удалено
  1. 1 2
      deps/db/test/logseq/db_test.cljs
  2. 1 1
      src/main/frontend/extensions/code.cljs

+ 1 - 2
deps/db/test/logseq/db_test.cljs

@@ -3,8 +3,7 @@
             [logseq.db.frontend.schema :as db-schema]
             [datascript.core :as d]
             [logseq.db :as ldb]
-            [logseq.db.sqlite.create-graph :as sqlite-create-graph]
-            [logseq.db.sqlite.build :as sqlite-build]))
+            [logseq.db.sqlite.create-graph :as sqlite-create-graph]))
 
 
 ;;; datoms

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

@@ -395,7 +395,7 @@
      (let [block (db/pull [:block/uuid block-id])]
        (editor-handler/edit-block! block :max)))))
 
-(defn render!
+(defn ^:large-vars/cleanup-todo render!
   [state]
   (let [[config id attr _code theme user-options] (:rum/args state)
         default-open? (and (:editor/code-mode? @state/state)