'use client' import { useState } from 'react' export function TestModal({ onClose, onSave }: { onClose: () => void; onSave: (data: any) => void }) { const [form, setForm] = useState({ name: '', status: 'pending', duration: '', ai_system: '', details: '' }) return (