mirror of
https://github.com/logseq/logseq.git
synced 2026-06-01 19:01:22 +00:00
fix: lint warning
This commit is contained in:
@@ -2958,10 +2958,10 @@
|
||||
(fn [_ _ _ n]
|
||||
(state/set-file-sync-state repo n)))
|
||||
|
||||
(.start sm)
|
||||
|
||||
(state/set-state! [:file-sync/graph-state :current-graph-uuid] graph-uuid)
|
||||
|
||||
(.start sm)
|
||||
|
||||
(offer! remote->local-full-sync-chan true)
|
||||
(offer! full-sync-chan true)
|
||||
(swap! *sync-starting? assoc graph-uuid false))))))
|
||||
|
||||
@@ -199,7 +199,8 @@
|
||||
(state/set-state! [:file-sync/graph-state current-uuid :file-sync/last-synced-at] (:epoch data)))
|
||||
|
||||
:start
|
||||
(state/set-state! [:file-sync/graph-state current-uuid :file-sync/start-time] data)
|
||||
(when-let [current-uuid (state/get-current-file-sync-graph-uuid)]
|
||||
(state/set-state! [:file-sync/graph-state current-uuid :file-sync/start-time] data))
|
||||
|
||||
nil)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user