From 46274fba4fcfa6b7fd64c18317d45a6d574b54b6 Mon Sep 17 00:00:00 2001 From: keyan Date: Thu, 10 Aug 2023 17:33:47 -0500 Subject: [PATCH] give anon an icon --- components/cowboy-hat.js | 2 +- components/item-info.js | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/components/cowboy-hat.js b/components/cowboy-hat.js index fda60d27..ac511f71 100644 --- a/components/cowboy-hat.js +++ b/components/cowboy-hat.js @@ -26,7 +26,7 @@ export default function CowboyHat ({ user, badge, className = 'ms-1', height = 1 ) } -function HatTooltip ({ children, overlayText, placement }) { +export function HatTooltip ({ children, overlayText, placement }) { return ( \ - @{item.user.name} + @{item.user.name} + {item.user.name === 'anon' + ? + : } {embellishUser}