Changed icon of message

This commit is contained in:
Lucas Oliveira 2024-06-13 17:42:07 -03:00 • committed by ogabrielluiz
commit efda9ccb89

View file

@ -58,7 +58,7 @@ export default function ChatView({
// //
.filter( .filter(
(output) => (output) =>
output.data.message || (!output.data.message && output.artifacts) output.data.message || (!output.data.message && output.artifacts),
) )
.map((output, index) => { .map((output, index) => {
try { try {
@ -138,7 +138,7 @@ export default function ChatView({
function updateChat( function updateChat(
chat: ChatMessageType, chat: ChatMessageType,
message: string, message: string,
stream_url?: string stream_url?: string,
) { ) {
chat.message = message; chat.message = message;
updateFlowPool(chat.componentId, { updateFlowPool(chat.componentId, {
@ -154,7 +154,7 @@ export default function ChatView({
setIsDragging, setIsDragging,
setFiles, setFiles,
currentFlowId, currentFlowId,
setErrorData setErrorData,
); );
return ( return (
@ -204,7 +204,7 @@ export default function ChatView({
{CHAT_FIRST_INITIAL_TEXT}{" "} {CHAT_FIRST_INITIAL_TEXT}{" "}
<span> <span>
<IconComponent <IconComponent
name="MessageSquare" name="MessageSquareMore"
className="mx-1 inline h-5 w-5 animate-bounce " className="mx-1 inline h-5 w-5 animate-bounce "
/> />
</span>{" "} </span>{" "}