fix: improve message text wrapping and prevent empty search execution in profiles page
This commit is contained in:
@@ -567,6 +567,7 @@ function ProfilesPageContent() {
|
||||
};
|
||||
|
||||
const handleSearch = () => {
|
||||
if (!searchQuery.trim()) return;
|
||||
setCurrentPage(1);
|
||||
fetchAgents();
|
||||
};
|
||||
|
||||
@@ -1018,7 +1018,7 @@ export function MessagingPage({ initialConversationId, initialAgentProfileId }:
|
||||
</div>
|
||||
</a>
|
||||
) : (
|
||||
<p className="font-serif font-normal text-[14px] leading-[19px]">
|
||||
<p className="font-serif font-normal text-[14px] leading-[19px] break-words whitespace-pre-wrap [overflow-wrap:anywhere]">
|
||||
{message.content}
|
||||
</p>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user