fix: debounce shortcut installation

This commit is contained in:
Tienson Qin
2022-10-24 15:49:16 +08:00
parent 425cfa298e
commit a43d737042
4 changed files with 7 additions and 8 deletions

View File

@@ -134,7 +134,6 @@
(state/set-current-repo! graph)
;; load config
(repo-config-handler/restore-repo-config! graph)
(st/refresh!)
(when-not (= :draw (state/get-current-route))
(route-handler/redirect-to-home!))
(when-let [dir-name (config/get-repo-dir graph)]
@@ -557,7 +556,6 @@
(defn- refresh-cb []
(page-handler/create-today-journal!)
(st/refresh!)
(file-sync-restart!))
(defmethod handle :graph/ask-for-re-fresh [_]