From 262faf83fb2893f22662eb24dd9874dff8683123 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20S=C3=BC=C3=9F?= Date: Fri, 25 Mar 2022 10:17:04 +0100 Subject: [PATCH] use a vector for component --- src/status_im/ui/components/image_with_loader.cljs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/status_im/ui/components/image_with_loader.cljs b/src/status_im/ui/components/image_with_loader.cljs index 7bd96ee07b..3205fe1428 100644 --- a/src/status_im/ui/components/image_with_loader.cljs +++ b/src/status_im/ui/components/image_with_loader.cljs @@ -47,6 +47,6 @@ (defn ipfs [props] (let [{:keys [hash]} props] - (source (merge (dissoc props :hash) + [source (merge (dissoc props :hash) {:source (map (fn [u] {:uri u}) - (contenthash/alternatives hash))})))) + (contenthash/alternatives hash))})]))