import { Link } from "@/lib/router"; import { cn } from "../lib/utils"; interface ChatTaskCreatedBadgeProps { taskId?: string | null; taskTitle?: string | null; taskUrl?: string | null; } export function ChatTaskCreatedBadge({ taskId, taskTitle, taskUrl }: ChatTaskCreatedBadgeProps) { if (!taskId) { return (
Creating task...
); } return (
{taskId} {taskTitle} {taskUrl && ( View task )}
); }