Browse Source

fix(lint): remove unused fns

charlie 1 day ago
parent
commit
4578c5a99a
1 changed files with 0 additions and 7 deletions
  1. 0 7
      src/main/frontend/extensions/pdf/assets.cljs

+ 0 - 7
src/main/frontend/extensions/pdf/assets.cljs

@@ -198,13 +198,6 @@
            (editor-handler/move-blocks! [asset-block] ref-block {:sibling? false})))))
     (file-based-ensure-ref-block! pdf-current hl insert-opts)))
 
-(defn construct-highlights-from-hls-page
-  [hls-page]
-  (p/let [result (db-async/<get-block (state/get-current-repo)
-                                      (:block/uuid hls-page)
-                                      {:children? true})]
-    {:highlights (keep :logseq.property.pdf/hl-value result)}))
-
 (defn file-based-load-hls-data$
   [{:keys [hls-file]}]
   (when hls-file