diff --git a/web/components/avatar.tsx b/web/components/avatar.tsx index 68a8061f..318c5498 100644 --- a/web/components/avatar.tsx +++ b/web/components/avatar.tsx @@ -8,8 +8,10 @@ export function Avatar(props: { noLink?: boolean size?: number | 'xs' | 'sm' className?: string + containerClassName?: string }) { - const { username, avatarUrl, noLink, size, className } = props + const { username, avatarUrl, noLink, size, className, containerClassName } = + props const s = size == 'xs' ? 6 : size === 'sm' ? 8 : size || 10 const onClick = @@ -20,7 +22,12 @@ export function Avatar(props: { Router.push(`/${username}`) } return ( -