fix: a non-journal home page is empty on initial graph load

Fixes LOG-2813
This commit is contained in:
Tienson Qin
2023-11-21 11:26:48 +08:00
parent bb5762df62
commit cb7bcb3816
5 changed files with 10 additions and 14 deletions

View File

@@ -256,9 +256,7 @@
(p/catch (fn [e]
(js/console.error "Error while restoring repos: " e)))
(p/finally (fn []
(state/set-db-restoring! false)
(react/clear-query-state!)
(ui-handler/re-render-root!))))
(state/set-db-restoring! false))))
(file/<ratelimit-file-writes!)
(util/<app-wake-up-from-sleep-loop (atom false))