()
| 39 | }, {} as Record<string, typeof CROP_OPTIONS>); |
| 40 | |
| 41 | const handleSave = () => { |
| 42 | const areaAcres = parseFloat(area) || haToAcres(field.area); |
| 43 | const areaHa = Math.round((areaAcres / 2.47105) * 10) / 10; |
| 44 | onSave({ ...field, name, crop, cropEmoji: "", area: areaHa, location, color, group: group || undefined }); |
| 45 | }; |
| 46 | |
| 47 | return ( |
| 48 | <div className="fixed inset-0 z-50 flex items-center justify-center bg-black/60 backdrop-blur-sm pb-[env(safe-area-inset-bottom)]"> |
nothing calls this directly
no test coverage detected