fix saveTenant call
This commit is contained in:
parent
a9d1a9dd26
commit
97deae313e
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue