Change to 'last_message.unread'

revert-fa4bd20d
Chewbacca 2022-11-07 10:53:44 -05:00
rodzic 6538db17e7
commit 3da075dd0c
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -117,7 +117,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ chat, onClick }) => {
timestamp={chat.last_message.created_at}
align='right'
size='xs'
theme={chat.unread ? 'default' : 'muted'}
theme={chat.last_message.unread ? 'default' : 'muted'}
truncate
/>
</>