mirror of
https://github.com/logseq/logseq.git
synced 2026-04-25 14:44:53 +00:00
chore: cleanup fixme
This commit is contained in:
@@ -21,8 +21,7 @@
|
||||
[promesa.core :as p]
|
||||
[reitit.frontend.easy :as rfe]
|
||||
[rum.core :as rum]
|
||||
[logseq.common.path :as path]
|
||||
[frontend.handler.global-config :as global-config-handler]))
|
||||
[logseq.common.path :as path]))
|
||||
|
||||
(defn- get-path
|
||||
[state]
|
||||
@@ -136,8 +135,7 @@
|
||||
(cond
|
||||
;; image type
|
||||
(and format (contains? (gp-config/img-formats) format))
|
||||
;; FIXME(andelf): bad path op
|
||||
[:img {:src (util/node-path.join "file://" path)}]
|
||||
[:img {:src (path/path-join "file://" path)}]
|
||||
|
||||
(and format
|
||||
(contains? (gp-config/text-formats) format)
|
||||
|
||||
Reference in New Issue
Block a user