mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-06-05 00:32:03 +00:00
Update src/components/content/dropdowns/MessageDropdownItem.js
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
40d0f42c46
commit
1e380b8dc0
@ -277,10 +277,10 @@ const MessageDropdownItem = ({ message, onSelect }) => {
|
|||||||
? highlightText(
|
? highlightText(
|
||||||
getTextWithMatchContext(
|
getTextWithMatchContext(
|
||||||
messageData?.content,
|
messageData?.content,
|
||||||
(messageData?._matches?.content || messageData?._matches?.title).term,
|
messageData?._matches?.content?.term || messageData?._matches?.title?.term,
|
||||||
80
|
80
|
||||||
),
|
),
|
||||||
(messageData?._matches?.content || messageData?._matches?.title).term,
|
messageData?._matches?.content?.term || messageData?._matches?.title?.term,
|
||||||
'bg-yellow-500/30 text-white font-medium px-0.5 rounded'
|
'bg-yellow-500/30 text-white font-medium px-0.5 rounded'
|
||||||
)
|
)
|
||||||
: messageData?.content}
|
: messageData?.content}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user