"use client"; import Link from "next/link"; import { CheckCircle2, ExternalLink, RefreshCw } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardFooter, CardHeader, CardTitle } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import type { Team } from "@/types"; interface SuccessCardProps { taskId: string; taskTitle: string; team: Team; onStartAnother: () => void; } export function SuccessCard({ taskId, taskTitle, team, onStartAnother, }: SuccessCardProps) { return (
Task Created Successfully

{taskTitle}

{team.replace("_", " ")} ID: {taskId.slice(0, 8)}…
); }