diff --git a/src/components/chat/ChatMessage.tsx b/src/components/chat/ChatMessage.tsx index 79ac89a..c9aa787 100644 --- a/src/components/chat/ChatMessage.tsx +++ b/src/components/chat/ChatMessage.tsx @@ -3,6 +3,7 @@ import type { Message } from "@/ipc/ipc_types"; import { DyadMarkdownParser } from "./DyadMarkdownParser"; import { motion } from "framer-motion"; import { useStreamChat } from "@/hooks/useStreamChat"; +import { CheckCircle, XCircle } from "lucide-react"; interface ChatMessageProps { message: Message; @@ -67,15 +68,17 @@ const ChatMessage = ({ message }: ChatMessageProps) => { )} {message.approvalState && ( -
+
{message.approvalState === "approved" ? ( -
- Approved -
+ <> + + Approved + ) : message.approvalState === "rejected" ? ( -
- Rejected -
+ <> + + Rejected + ) : null}
)}