import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; import { Button } from '@/components/ui/button'; import { Card, CardContent } from '@/components/ui/card'; import { useNavigatePage } from '@/hooks/logic-hooks/navigate-hooks'; import { IFlow } from '@/interfaces/database/flow'; import { formatPureDate } from '@/utils/date'; import { ChevronRight, Trash2 } from 'lucide-react'; interface IProps { data: IFlow; } export function AgentCard({ data }: IProps) { const { navigateToAgent } = useNavigatePage(); return (
{data.avatar ? (
) : ( CN )}

{data.title}

An app that does things An app that does things

Search app

{formatPureDate(data.update_time)}

); }