Enable two disabled linters and bump kondo dep

All the fixes were on used-underscored-binding
This commit is contained in:
Gabriel Horner
2022-09-08 16:23:41 -04:00
committed by Tienson Qin
parent dda2c9c92a
commit 51c318e2da
16 changed files with 75 additions and 63 deletions

View File

@@ -170,13 +170,13 @@
(file-sync/pick-page-histories-panel graph-uuid page-name)
{:id :page-histories :label "modal-page-histories"}))
(defmethod handle :graph/open-new-window [[ev repo]]
(defmethod handle :graph/open-new-window [[_ev repo]]
(p/let [current-repo (state/get-current-repo)
target-repo (or repo current-repo)
_ (repo-handler/persist-db! current-repo persist-db-noti-m) ;; FIXME: redundant when opening non-current-graph window
_ (when-not (= current-repo target-repo)
(repo-handler/broadcast-persist-db! repo))]
(ui-handler/open-new-window! ev repo)))
(ui-handler/open-new-window! repo)))
(defmethod handle :graph/migrated [[_ _repo]]
(js/alert "Graph migrated."))