From b6c0198f87dae8dd9eaabd996107f1c8fd09780b Mon Sep 17 00:00:00 2001 From: Tienson Qin Date: Fri, 30 Sep 2022 17:03:24 +0800 Subject: [PATCH] fix: lint warning --- src/main/frontend/fs/sync.cljs | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/main/frontend/fs/sync.cljs b/src/main/frontend/fs/sync.cljs index 8be55350d9..e4176f50e8 100644 --- a/src/main/frontend/fs/sync.cljs +++ b/src/main/frontend/fs/sync.cljs @@ -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