import { useState } from "react"; import { Shield, ShieldCheck, Loader2, X, XCircle } from "lucide-react"; // ── Props ────────────────────────────────────────────────────────── interface ResolveDisputeModalProps { isSubmitting: boolean; onSubmit: (targetTeam: "red" | "blue", notes: string) => void; onClose: () => void; } // ── Component ────────────────────────────────────────────────────── export default function ResolveDisputeModal({ isSubmitting, onSubmit, onClose, }: ResolveDisputeModalProps) { const [targetTeam, setTargetTeam] = useState<"red" | "blue" | null>(null); const [notes, setNotes] = useState(""); const canSubmit = targetTeam !== null && !isSubmitting; return (
{/* Header */}

Change Vote to Rejected

{/* Body */}

You're agreeing that this test needs rework. Instead of restarting from scratch, pick which team's work is actually the problem — the test goes straight back to their queue and the other team's work is left untouched.

Send back to