ChatListItem: prevent links from being clicked
This commit is contained in:
parent
e42f0bc9b0
commit
ad521e528e
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ const ChatListItem: React.FC<IChatListItemInterface> = ({ chat, chatSilence, onC
|
||||||
weight='medium'
|
weight='medium'
|
||||||
theme='muted'
|
theme='muted'
|
||||||
truncate
|
truncate
|
||||||
className='w-full truncate-child'
|
className='w-full truncate-child pointer-events-none'
|
||||||
data-testid='chat-last-message'
|
data-testid='chat-last-message'
|
||||||
dangerouslySetInnerHTML={{ __html: chat.last_message?.content }}
|
dangerouslySetInnerHTML={{ __html: chat.last_message?.content }}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue