carga correctamente los id de la vivienda

This commit is contained in:
Mariela 2022-08-16 16:46:20 -06:00
parent ff5c6e55ff
commit 69775a366d
1 changed files with 1 additions and 4 deletions

View File

@ -92,11 +92,8 @@ const Inquilinos = () => {
`http://localhost:4000/community/findHousesCommunity/${cookies.community_id}`,
{ method: 'GET' },
)
.then(res => res.json())
.then(res => console.log())
let resList = await response.json()
let list = await resList.message
setHousesList(await list)
setHousesList(await resList)
}
useEffect(() => {