Remove stray console.log in attachment component
This commit is contained in:
parent
8d7e4dde0e
commit
a5dea165af
1 changed files with 0 additions and 1 deletions
|
|
@ -317,7 +317,6 @@
|
||||||
(defn attachment [{:keys [attachment]}]
|
(defn attachment [{:keys [attachment]}]
|
||||||
(let [preview-url (or (:preview_remote_url attachment) (:preview_url attachment))
|
(let [preview-url (or (:preview_remote_url attachment) (:preview_url attachment))
|
||||||
remote-url (or (:remote_url attachment) (:url attachment))
|
remote-url (or (:remote_url attachment) (:url attachment))
|
||||||
_ (js/console.log :preview-url preview-url :remote_url remote-url :attachment attachment)
|
|
||||||
ext (last (str/split remote-url #"\."))]
|
ext (last (str/split remote-url #"\."))]
|
||||||
(case (:type attachment)
|
(case (:type attachment)
|
||||||
"image" [:img {:src preview-url
|
"image" [:img {:src preview-url
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue