(tech: string)
| 137 | }; |
| 138 | |
| 139 | const addTech = (tech: string) => { |
| 140 | const trimmed = tech.trim(); |
| 141 | if (trimmed && !formData.technologies.includes(trimmed)) { |
| 142 | setFormData(prev => ({ |
| 143 | ...prev, |
| 144 | technologies: [...prev.technologies, trimmed] |
| 145 | })); |
| 146 | } |
| 147 | setNewTech(''); |
| 148 | }; |
| 149 | |
| 150 | const removeTech = (tech: string) => { |
| 151 | setFormData(prev => ({ |