diff --git a/common/src/app/common/types/path/segment.cljc b/common/src/app/common/types/path/segment.cljc index b9c6f7c285..f5e082459b 100644 --- a/common/src/app/common/types/path/segment.cljc +++ b/common/src/app/common/types/path/segment.cljc @@ -96,12 +96,6 @@ :else nil))) -(defn get-commands - "Returns the commands involving a point with its indices" - [content point] - (->> (d/enumerate content) - (filterv (fn [[_ segment]] (= (helpers/segment->point segment) point))))) - (defn get-handler-point "Given a segment index and prefix, get a handler point" [content index prefix]