Replace medley/{map-keys/map-vals} with {update-keys,update-vals}

This commit is contained in:
Gabriel Horner
2022-05-17 14:23:16 -04:00
committed by Tienson Qin
parent 6f68d985bd
commit 1d390f7bd4
11 changed files with 39 additions and 45 deletions

View File

@@ -659,9 +659,10 @@
(def category
"Active list of categories for docs purpose"
(medley/map-vals (fn [v]
(vec (remove #(:inactive (get all-default-keyboard-shortcuts %)) v)))
category*))
(update-vals
category*
(fn [v]
(vec (remove #(:inactive (get all-default-keyboard-shortcuts %)) v)))))
(defn add-shortcut!
[handler-id id shortcut-map]