feat(chat): have unique icons for join and part messages. Closes #3421

This commit is contained in:
Gabe Kangas 2023-11-12 10:42:25 -08:00
parent c17a762067
commit 34a474b30d
No known key found for this signature in database
GPG Key ID: 4345B2060657F330
2 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import styles from './ChatJoinMessage.module.scss';
// Lazy loaded components
const TeamOutlined = dynamic(() => import('@ant-design/icons/TeamOutlined'), {
const UsergroupAddOutlined = dynamic(() => import('@ant-design/icons/UsergroupAddOutlined'), {
ssr: false,
});
@ -27,7 +27,7 @@ export const ChatJoinMessage: FC<ChatJoinMessageProps> = ({
<div className={styles.root}>
<span style={{ color }}>
<span className={styles.icon}>
<TeamOutlined />
<UsergroupAddOutlined />
</span>
<span className={styles.user}>{displayName}</span>
{isAuthorModerator && (

View File

@ -6,7 +6,7 @@ import styles from './ChatPartMessage.module.scss';
// Lazy loaded components
const TeamOutlined = dynamic(() => import('@ant-design/icons/TeamOutlined'), {
const UsergroupDeleteOutlined = dynamic(() => import('@ant-design/icons/UsergroupDeleteOutlined'), {
ssr: false,
});
@ -27,7 +27,7 @@ export const ChatPartMessage: FC<ChatPartMessageProps> = ({
<div className={styles.root}>
<span style={{ color }}>
<span className={styles.icon}>
<TeamOutlined />
<UsergroupDeleteOutlined />
</span>
<span className={styles.user}>{displayName}</span>
{isAuthorModerator && (