Skip to content

Commit

Permalink
fix: page top is rendering empty avatar icon if no avatar props are s…
Browse files Browse the repository at this point in the history
…ent (#19638)
  • Loading branch information
briansztamfater authored Apr 18, 2024
1 parent f708cdc commit 3526355
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/quo/components/text_combinations/page_top/view.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,8 @@
[{:keys [title title-accessibility-label input counter-top counter-bottom
title-right title-right-props]
avatar-props :avatar}]
(let [avatar-props (assoc avatar-props :size :size-32)
(let [avatar-props (when avatar-props
(assoc avatar-props :size :size-32))
title-props (assoc title-right-props
:title title
:right title-right
Expand Down

0 comments on commit 3526355

Please sign in to comment.