fixed type issue with avatar component

This commit is contained in:
Matthew Birtch 2024-03-19 10:37:05 -04:00
parent 700f172f0d
commit 5ad1092ba4

View File

@ -11,7 +11,7 @@ import BotDefaultIcon from 'images/bot_default_icon.png';
import './avatar.scss';
export type TAvatarSizeToken = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xl-custom-DM' | 'xl-custom-GM' | 'xxl';
export type TAvatarSizeToken = 'xxs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl' | 'xxxl' | 'xxxxl';
export const getAvatarWidth = (size: TAvatarSizeToken) => {
switch (size) {