From 34a474b30dfef6d79c8d8c818dd9b530e867ab25 Mon Sep 17 00:00:00 2001 From: Gabe Kangas Date: Sun, 12 Nov 2023 10:42:25 -0800 Subject: [PATCH] feat(chat): have unique icons for join and part messages. Closes #3421 --- web/components/chat/ChatJoinMessage/ChatJoinMessage.tsx | 4 ++-- web/components/chat/ChatPartMessage/ChatPartMessage.tsx | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/web/components/chat/ChatJoinMessage/ChatJoinMessage.tsx b/web/components/chat/ChatJoinMessage/ChatJoinMessage.tsx index 2fb17ff87..a018ece68 100644 --- a/web/components/chat/ChatJoinMessage/ChatJoinMessage.tsx +++ b/web/components/chat/ChatJoinMessage/ChatJoinMessage.tsx @@ -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 = ({
- + {displayName} {isAuthorModerator && ( diff --git a/web/components/chat/ChatPartMessage/ChatPartMessage.tsx b/web/components/chat/ChatPartMessage/ChatPartMessage.tsx index 17b47d718..3d9354fb9 100644 --- a/web/components/chat/ChatPartMessage/ChatPartMessage.tsx +++ b/web/components/chat/ChatPartMessage/ChatPartMessage.tsx @@ -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 = ({
- + {displayName} {isAuthorModerator && (