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

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

View File

@@ -567,6 +567,7 @@ function ProfilesPageContent() {
}; };
const handleSearch = () => { const handleSearch = () => {
if (!searchQuery.trim()) return;
setCurrentPage(1); setCurrentPage(1);
fetchAgents(); fetchAgents();
}; };

View File

@@ -1018,7 +1018,7 @@ export function MessagingPage({ initialConversationId, initialAgentProfileId }:
</div> </div>
</a> </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} {message.content}
</p> </p>
)} )}