Skip to content

Commit

Permalink
avatar-css-value takes user, not image path
Browse files Browse the repository at this point in the history
  • Loading branch information
plexus committed Aug 28, 2024
1 parent 1777db1 commit 4863986
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/co/gaiwan/compass/html/profiles.clj
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand All @@ -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
Expand Down

0 comments on commit 4863986

Please sign in to comment.