diff --git a/src/main/frontend/modules/outliner/datascript.cljs b/src/main/frontend/modules/outliner/datascript.cljs index 87b46cb43..4293ad499 100644 --- a/src/main/frontend/modules/outliner/datascript.cljs +++ b/src/main/frontend/modules/outliner/datascript.cljs @@ -130,8 +130,8 @@ (fn [_ page-id] (if-let [result (db-validate/broken-page? db-after page-id)] (do - ;; revert db changes - (assert (false? result) (str "Broken page: " result)) + ;; TODO: revert db changes + (when config/dev? (assert (false? result) (str "Broken page: " result))) (reduced false)) true)) true