Remove old prop from avatar

This commit is contained in:
Marshall Polaris 2022-05-04 10:56:46 -07:00
parent ca6c14de50
commit 4d8941d078

View File

@ -8,7 +8,6 @@ export function Avatar(props: {
noLink?: boolean
size?: number | 'xs' | 'sm'
className?: string
containerClassName?: string
}) {
const { username, avatarUrl, noLink, size, className } = props
const s = size == 'xs' ? 6 : size === 'sm' ? 8 : size || 10