fix: lint warning

This commit is contained in:
Tienson Qin
2022-09-30 17:03:24 +08:00
parent 5f8d8e832c
commit b6c0198f87

View File

@@ -182,13 +182,7 @@
(def ws-addr config/WS-URL)
;; Warning: make sure to `persist-var/-load` graphs-txid before using it.
(def graphs-txid (persist-var/persist-var nil "graphs-txid"))
(defn get-graphs-txid
[graph-uuid]
;; (when graph-uuid
;; (get @state/state [:file-sync/graph-state graph-uuid ]))
)
(defonce graphs-txid (persist-var/persist-var nil "graphs-txid"))
(declare assert-local-txid<=remote-txid)
(defn <update-graphs-txid!
@@ -2970,8 +2964,7 @@
(offer! full-sync-chan true)))))
(catch :default e
(prn "Sync start error: ")
(log/error :exception e)))))))
)
(log/error :exception e))))))))
;;; ### some add-watches