ChatListItem: prevent links from being clicked

chats-router
Alex Gleason 2022-09-19 14:33:22 -05:00
rodzic e42f0bc9b0
commit ad521e528e
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -38,7 +38,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ chat, chatSilence, onC
weight='medium'
theme='muted'
truncate
className='w-full truncate-child'
className='w-full truncate-child pointer-events-none'
data-testid='chat-last-message'
dangerouslySetInnerHTML={{ __html: chat.last_message?.content }}
/>