usar componente correcto para botón de registro de inquilino

esto es para mantener consistencia
This commit is contained in:
Eduardo Quiros 2022-07-19 19:26:00 -06:00
parent 6a69546f21
commit 599a1d8ab2
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 2 additions and 3 deletions

View File

@ -1,3 +1,4 @@
import { Button } from 'primereact/button';
import { Dropdown } from 'primereact/dropdown'; import { Dropdown } from 'primereact/dropdown';
import { InputText } from 'primereact/inputtext' import { InputText } from 'primereact/inputtext'
import React, { useEffect, useState } from 'react' import React, { useEffect, useState } from 'react'
@ -52,10 +53,8 @@ const Inquilinos = () => {
<label htmlFor="numero_vivienda">Número de Vivienda</label> <label htmlFor="numero_vivienda">Número de Vivienda</label>
<Dropdown id="numero_vivienda" value={communityIdList[0]} options={communitiesList} /> <Dropdown id="numero_vivienda" value={communityIdList[0]} options={communitiesList} />
</div> </div>
<Button label="Registrar" onClick={registrarInquilino} />
</div> </div>
<button type="button" className="btn btn-primary" onClick={registrarInquilino}>
Registrar
</button>
</div> </div>
</div> </div>
</div> </div>