From 4863986610e29f51c844858ada3933ce6f7ba0f7 Mon Sep 17 00:00:00 2001 From: Arne Brasseur Date: Wed, 28 Aug 2024 18:02:13 +0200 Subject: [PATCH] avatar-css-value takes user, not image path --- src/co/gaiwan/compass/html/profiles.clj | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/co/gaiwan/compass/html/profiles.clj b/src/co/gaiwan/compass/html/profiles.clj index 6bf974c..efb5211 100644 --- a/src/co/gaiwan/compass/html/profiles.clj +++ b/src/co/gaiwan/compass/html/profiles.clj @@ -38,7 +38,7 @@ ([{:public-profile/keys [name] :user/keys [uuid] :as user}] [:<> - [image-frame {:profile/image (user/avatar-css-value (:public-profile/avatar-url user))} user] + [image-frame {:profile/image (user/avatar-css-value user)} user] [:div.details [:h3.title name]] #_[:div (pr-str user)] @@ -50,7 +50,7 @@ ([{:public-profile/keys [name bio] :user/keys [uuid] :as user}] [:<> - [image-frame {:profile/image (user/avatar-css-value (:public-profile/avatar-url user))} user] + [image-frame {:profile/image (user/avatar-css-value user)} user] [:div.details [:h3 name] (when bio