use a vector for component

This commit is contained in:
Marco Süß 2022-03-25 10:17:04 +01:00
parent 21da153086
commit 262faf83fb
1 changed files with 2 additions and 2 deletions

View File

@ -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))})]))