diff --git a/frontend/src/app/chat/components/user-message.tsx b/frontend/src/app/chat/components/user-message.tsx index 0f9deed9..21c97f4f 100644 --- a/frontend/src/app/chat/components/user-message.tsx +++ b/frontend/src/app/chat/components/user-message.tsx @@ -1,4 +1,4 @@ -import { User } from "lucide-react"; +import { FileText, User } from "lucide-react"; import { motion } from "motion/react"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { useAuth } from "@/contexts/auth-context"; @@ -9,12 +9,12 @@ interface UserMessageProps { content: string; isCompleted?: boolean; animate?: boolean; + files?: string; } -export function UserMessage({ content, isCompleted, animate = true }: UserMessageProps) { +export function UserMessage({ content, isCompleted, animate = true, files }: UserMessageProps) { const { user } = useAuth(); - console.log("animate", animate); return ( } > + {files && ( +

+ + {files} +

+ )}