mirror of https://github.com/logseq/logseq
fix: all pages loading slow
parent
da80086e48
commit
28ddeedfec
|
@ -404,7 +404,7 @@
|
|||
(rum/defc all-pages < rum/reactive
|
||||
{:did-mount (fn [state]
|
||||
(let [current-repo (state/sub :git/current-repo)]
|
||||
(db/remove-orphaned-pages! current-repo))
|
||||
(js/setTimeout #(db/remove-orphaned-pages! current-repo) 0))
|
||||
state)}
|
||||
[]
|
||||
(let [current-repo (state/sub :git/current-repo)]
|
||||
|
|
Loading…
Reference in New Issue