Tienson Qin 1 rok temu
rodzic
commit
a46499904a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      deps/db/src/logseq/db.cljs

+ 1 - 1
deps/db/src/logseq/db.cljs

@@ -58,7 +58,7 @@
    (transact! repo-or-conn tx-data nil))
   ([repo-or-conn tx-data tx-meta]
    (when (or (exists? js/process)
-             goog.DEBUG)
+             (and (exists? js/window) js/window.goog.DEBUG))
      (assert-no-entities tx-data))
    (let [tx-data (map (fn [m]
                         (if (map? m)