Skip to content

Commit a618f9d

Browse files
authored
Merge pull request #45 from Passimx/42-помечать-системный-чат-в-общем-списке
feat: add star icon for system chat
2 parents 6180d6f + bb04ac4 commit a618f9d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/chat-item/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const ChatItem: FC<PropsType> = memo(({ chat, isNew = false, isChatOnPage, redir
3737
/>
3838
<div className={styles.main_inf}>
3939
<div className={styles.title_block}>
40-
{chat.type === ChatEnum.IS_SYSTEM && <FaStar className={styles.icon_star} />}
40+
<div>{chat.type === ChatEnum.IS_SYSTEM && <FaStar className={styles.icon_star} />}</div>
4141
<div className={styles.title}>{chat.title}</div>
4242
<div className={styles.time}>{time}</div>
4343
</div>

0 commit comments

Comments
 (0)