diff --git a/web/components/avatar.tsx b/web/components/avatar.tsx index 318c5498..706b61f3 100644 --- a/web/components/avatar.tsx +++ b/web/components/avatar.tsx @@ -8,10 +8,8 @@ export function Avatar(props: { noLink?: boolean size?: number | 'xs' | 'sm' className?: string - containerClassName?: string }) { - const { username, avatarUrl, noLink, size, className, containerClassName } = - props + const { username, avatarUrl, noLink, size, className } = props const s = size == 'xs' ? 6 : size === 'sm' ? 8 : size || 10 const onClick = @@ -21,32 +19,28 @@ export function Avatar(props: { e.stopPropagation() Router.push(`/${username}`) } - return ( -