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
|
(rum/defc all-pages < rum/reactive
|
||||||
{:did-mount (fn [state]
|
{:did-mount (fn [state]
|
||||||
(let [current-repo (state/sub :git/current-repo)]
|
(let [current-repo (state/sub :git/current-repo)]
|
||||||
(db/remove-orphaned-pages! current-repo))
|
(js/setTimeout #(db/remove-orphaned-pages! current-repo) 0))
|
||||||
state)}
|
state)}
|
||||||
[]
|
[]
|
||||||
(let [current-repo (state/sub :git/current-repo)]
|
(let [current-repo (state/sub :git/current-repo)]
|
||||||
|
|
Loading…
Reference in New Issue