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 ? (