>
}
>
setNewContact(p => ({ ...p, name: e.target.value }))}
placeholder="Vollstaendiger Name"
className="w-full border rounded px-3 py-2 text-sm"
/>
setNewContact(p => ({ ...p, role: e.target.value }))}
placeholder="z.B. Datenschutzbeauftragter"
className="w-full border rounded px-3 py-2 text-sm"
/>
)
}
// ---- Exercise Modal ----
export function ExerciseModal({
newExercise,
setNewExercise,
onClose,
onCreate,
saving,
}: {
newExercise: { title: string; exercise_type: string; exercise_date: string; notes: string }
setNewExercise: React.Dispatch