fix saveTenant call

This commit is contained in:
Eduardo Quiros 2022-08-21 18:55:12 -06:00
parent a9d1a9dd26
commit 97deae313e
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ const Inquilinos = () => {
{submitted && tenant.last_name === '' && <small className="p-invalid">Apellidos son requeridos.</small>} {submitted && tenant.last_name === '' && <small className="p-invalid">Apellidos son requeridos.</small>}
</div> </div>
</div> </div>
<Button label='Registrar' onClick={registrarInquilino} /> <Button label='Registrar' onClick={saveTenant} />
<Button label='testDialog' onClick={openDialog} /> <Button label='testDialog' onClick={openDialog} />
<div className="field col-12 md:col-6"> <div className="field col-12 md:col-6">
<label htmlFor="name">Correo Electrónico</label> <label htmlFor="name">Correo Electrónico</label>