From 430911272ed4ebe201b78e715cd213e5fd8aaec3 Mon Sep 17 00:00:00 2001 From: erik Date: Fri, 17 May 2024 18:54:08 +0200 Subject: [PATCH] Dont use let --- src/main/dda/masto_embed/account_mode.cljs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/dda/masto_embed/account_mode.cljs b/src/main/dda/masto_embed/account_mode.cljs index afe3ee9..ee494ca 100644 --- a/src/main/dda/masto_embed/account_mode.cljs +++ b/src/main/dda/masto_embed/account_mode.cljs @@ -94,8 +94,7 @@ (= (:type item) :element) (= class (:class (:attrs item)))])] (if condition - (let [content (:content item)] - (assoc-in item [:content] insertion-element)) + (assoc-in item [:content] insertion-element) item))) (defn masto-media->html [html media_attachments]