fix: improve message text wrapping and prevent empty search execution in profiles page

This commit is contained in:
pradeepkumar committed 2026-04-20 10:25:21 +05:30
1 parent 3474c97659
commit ba8ce115b2
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -567,6 +567,7 @@ function ProfilesPageContent() {
};
const handleSearch = () => {
if (!searchQuery.trim()) return;
setCurrentPage(1);
fetchAgents();
};
+1 -1
View File
@@ -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>
)}