| 12 | ]; |
| 13 | |
| 14 | interface FieldEditDialogProps { |
| 15 | field: Field; |
| 16 | onSave: (updated: Field) => void; |
| 17 | onDelete: (id: string) => void; |
| 18 | onClose: () => void; |
| 19 | } |
| 20 | |
| 21 | const FieldEditDialog = ({ field, onSave, onDelete, onClose }: FieldEditDialogProps) => { |
| 22 | const [name, setName] = useState(field.name); |
nothing calls this directly
no outgoing calls
no test coverage detected