Change color of last message text if unread

chats-router^2
Justin 2022-09-23 09:08:46 -04:00
rodzic 31b1f3ec97
commit 7335a3a0d3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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'