diff --git a/src/apps/chat/components/message/ChatMessage.tsx b/src/apps/chat/components/message/ChatMessage.tsx index de40ec003..47445a544 100644 --- a/src/apps/chat/components/message/ChatMessage.tsx +++ b/src/apps/chat/components/message/ChatMessage.tsx @@ -5,7 +5,6 @@ import TimeAgo from 'react-timeago'; import type { SxProps } from '@mui/joy/styles/types'; import { Box, ButtonGroup, CircularProgress, Divider, IconButton, ListDivider, ListItem, ListItemDecorator, MenuItem, Switch, Tooltip, Typography } from '@mui/joy'; import { ClickAwayListener, Popper } from '@mui/base'; -import AlternateEmailIcon from '@mui/icons-material/AlternateEmail'; import CheckRoundedIcon from '@mui/icons-material/CheckRounded'; import CloseRoundedIcon from '@mui/icons-material/CloseRounded'; import ContentCopyIcon from '@mui/icons-material/ContentCopy'; @@ -17,7 +16,6 @@ import ForkRightIcon from '@mui/icons-material/ForkRight'; import FormatBoldIcon from '@mui/icons-material/FormatBold'; import FormatPaintOutlinedIcon from '@mui/icons-material/FormatPaintOutlined'; import InfoOutlinedIcon from '@mui/icons-material/InfoOutlined'; -import InsertLinkIcon from '@mui/icons-material/InsertLink'; import MoreVertIcon from '@mui/icons-material/MoreVert'; import NotificationsActiveIcon from '@mui/icons-material/NotificationsActive'; import NotificationsOutlinedIcon from '@mui/icons-material/NotificationsOutlined'; @@ -42,6 +40,7 @@ import { MarkHighlightIcon } from '~/common/components/icons/MarkHighlightIcon'; import { PhTreeStructure } from '~/common/components/icons/phosphor/PhTreeStructure'; import { PhVoice } from '~/common/components/icons/phosphor/PhVoice'; import { Release } from '~/common/app.release'; +import { StarredState } from '~/common/components/StarIcons'; import { TooltipOutlined } from '~/common/components/TooltipOutlined'; import { adjustContentScaling, themeScalingMap, themeZIndexChatBubble } from '~/common/app.theme'; import { avatarIconSx, makeMessageAvatarIcon, messageBackground, useMessageAvatarLabel } from '~/common/util/dMessageUtils'; @@ -986,15 +985,8 @@ export function ChatMessage(props: { {/* Starred */} {!!onMessageToggleUserFlag && ( - - {isUserStarred - ? - : - } - {/*{isUserStarred*/} - {/* ? */} - {/* : */} - {/*}*/} + + )}