From a649cca2dfdd9027dc8658543b30019c10de009c Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Sun, 31 Mar 2024 02:45:45 +0200 Subject: [PATCH] Fixed merge issue --- .../components/chatView/chatMessage/index.tsx | 46 +++++++++---------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/src/frontend/src/modals/IOModal/components/chatView/chatMessage/index.tsx b/src/frontend/src/modals/IOModal/components/chatView/chatMessage/index.tsx index 7a9704e7c..0cbe2ecd3 100644 --- a/src/frontend/src/modals/IOModal/components/chatView/chatMessage/index.tsx +++ b/src/frontend/src/modals/IOModal/components/chatView/chatMessage/index.tsx @@ -11,7 +11,7 @@ import CodeTabsComponent from "../../../../../components/codeTabsComponent"; import IconComponent from "../../../../../components/genericIconComponent"; import useFlowStore from "../../../../../stores/flowStore"; import { chatMessagePropsType } from "../../../../../types/components"; -import { classNames } from "../../../../../utils/utils"; +import { classNames, cn } from "../../../../../utils/utils"; import FileCard from "../fileComponent"; export default function ChatMessage({ @@ -108,30 +108,28 @@ export default function ChatMessage({ chat.isSend ? "" : " " )} > -
- {!chat.isSend ? ( -
-
- robot_image -
- {chat.sender_name} -
- ) : ( -
-
- male_technology -
- {chat.sender_name} -
+
+
+
+ {!chat.isSend +
+ + {chat.sender_name} + +
{!chat.isSend ? (