diff --git a/src/main/frontend/util.cljc b/src/main/frontend/util.cljc index 45b7fe3c78..5b35d682a2 100644 --- a/src/main/frontend/util.cljc +++ b/src/main/frontend/util.cljc @@ -474,7 +474,9 @@ #?(:cljs - (def distinct-by medley/distinct-by)) + (defn distinct-by + [f col] + (medley/distinct-by f (seq col)))) #?(:cljs (defn distinct-by-last-wins