ChatListItem: prevent links from being clicked

This commit is contained in:
Alex Gleason 2022-09-19 14:33:22 -05:00
parent e42f0bc9b0
commit ad521e528e
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7

View file

@ -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 }}
/>