mirror of
https://github.com/logseq/logseq.git
synced 2026-05-05 19:36:35 +00:00
fix: <sync-start returns a channel
This commit is contained in:
@@ -3000,11 +3000,11 @@
|
||||
|
||||
(declare network-online-cursor)
|
||||
|
||||
(defn sync-start
|
||||
(defn <sync-start
|
||||
[]
|
||||
(when (false? @*sync-entered?)
|
||||
(reset! *sync-entered? true)
|
||||
(go
|
||||
(go
|
||||
(when (false? @*sync-entered?)
|
||||
(reset! *sync-entered? true)
|
||||
(let [*sync-state (atom (sync-state))
|
||||
current-user-uuid (user/user-uuid)
|
||||
;; put @graph-uuid & get-current-repo together,
|
||||
@@ -3056,7 +3056,7 @@
|
||||
(<sync-stop)
|
||||
|
||||
(and (false? o) (true? n))
|
||||
(sync-start)
|
||||
(<sync-start)
|
||||
|
||||
:else
|
||||
nil)))
|
||||
|
||||
Reference in New Issue
Block a user