refactor dari objek data

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