diff --git a/src/frontend/src/components/Avatar.tsx b/src/frontend/src/components/Avatar.tsx index 168fa953..6be35f90 100644 --- a/src/frontend/src/components/Avatar.tsx +++ b/src/frontend/src/components/Avatar.tsx @@ -49,32 +49,29 @@ export type AvatarProps = React.HTMLAttributes & { bgColor?: string } & RecipeVariantProps -export const Avatar = ({ - name, - bgColor, - context, - notification, - style, - ...props -}: AvatarProps) => { - const initial = name?.trim()?.charAt(0) ?? '' - return ( -
-
+ ) + } +) + +Avatar.displayName = 'Avatar'