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 = () => {
|
const handleSearch = () => {
|
||||||
|
if (!searchQuery.trim()) return;
|
||||||
setCurrentPage(1);
|
setCurrentPage(1);
|
||||||
fetchAgents();
|
fetchAgents();
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -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>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user