diff --git a/web-ui/web-react/src/components/Inquilinos.js b/web-ui/web-react/src/components/Inquilinos.js index 30dbbea1..da8aa512 100644 --- a/web-ui/web-react/src/components/Inquilinos.js +++ b/web-ui/web-react/src/components/Inquilinos.js @@ -419,7 +419,7 @@ const Inquilinos = () => { ) } - const onInputChange = (e) => { + const onInputChange = (e, name) => { const value = (e.target && e.target.value) || '' let _tenant = { ...tenant } _tenant[`${name}`] = value