Change color of last message text if unread

This commit is contained in:
Justin 2022-09-23 09:08:46 -04:00
parent 31b1f3ec97
commit 7335a3a0d3

View file

@ -98,7 +98,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ chat, chatSilence, onC
align='left'
size='sm'
weight='medium'
theme='muted'
theme={chat.last_message.unread ? 'default' : 'muted'}
truncate
className='w-full h-5 truncate-child pointer-events-none'
data-testid='chat-last-message'