Dont use let
This commit is contained in:
parent
a21ff9592d
commit
430911272e
1 changed files with 1 additions and 2 deletions
|
@ -94,8 +94,7 @@
|
||||||
(= (:type item) :element)
|
(= (:type item) :element)
|
||||||
(= class (:class (:attrs item)))])]
|
(= class (:class (:attrs item)))])]
|
||||||
(if condition
|
(if condition
|
||||||
(let [content (:content item)]
|
(assoc-in item [:content] insertion-element)
|
||||||
(assoc-in item [:content] insertion-element))
|
|
||||||
item)))
|
item)))
|
||||||
|
|
||||||
(defn masto-media->html [html media_attachments]
|
(defn masto-media->html [html media_attachments]
|
||||||
|
|
Loading…
Reference in a new issue