diff --git a/src/view/com/util/UserAvatar.tsx b/src/view/com/util/UserAvatar.tsx index 782d3d2ebb..587b466a3c 100644 --- a/src/view/com/util/UserAvatar.tsx +++ b/src/view/com/util/UserAvatar.tsx @@ -31,7 +31,7 @@ import * as Menu from '#/components/Menu' import {ProfileHoverCard} from '#/components/ProfileHoverCard' import {openCamera, openCropper, openPicker} from '../../../lib/media/picker' -export type UserAvatarType = 'user' | 'algo' | 'list' | 'labeler' | 'square' +export type UserAvatarType = 'user' | 'algo' | 'list' | 'labeler' interface BaseUserAvatarProps { type?: UserAvatarType @@ -168,13 +168,6 @@ let UserAvatar = ({ const backgroundColor = pal.colors.backgroundLight const aviStyle = useMemo(() => { - if (type === 'square') { - return { - width: size, - height: size, - backgroundColor, - } - } if (type === 'algo' || type === 'list' || type === 'labeler') { return { width: size,