import Avatar from '@mui/material/Avatar';
import Icon from '@mui/material/Icon';
import {useTheme} from '@mui/material/styles';
import useProfile from '../../hooks/useProfile';
const UserIcon = () => {
const {profile} = useProfile();
const theme = useTheme();
if (profile)
return (
{`${profile.username[0]}`.toUpperCase()}
);
else return more_vert;
};
export default UserIcon;