Refactor del objeto de datos

const onSubmit = (data: { propertyIdentification: string, stateName: string }) => updatePropertyIdentified(data)
Selfish Swan