fix: not a fn

pull/7497/head
Tienson Qin 2022-11-28 16:31:58 +08:00
parent e3c839be9f
commit 12c9719513
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@
(state/pub-event! [:graph/dir-gone dir]))))
;; FIXME: an ugly implementation for redirecting to page on new window is restored
(repo-handler/graph-ready! repo)
(when-not (config/test?)
(when-not config/test?
(js/setTimeout
(fn []
(let [filename-format (state/get-filename-format repo)]