carga correctamente los id de la vivienda
This commit is contained in:
parent
ff5c6e55ff
commit
69775a366d
|
@ -92,11 +92,8 @@ const Inquilinos = () => {
|
||||||
`http://localhost:4000/community/findHousesCommunity/${cookies.community_id}`,
|
`http://localhost:4000/community/findHousesCommunity/${cookies.community_id}`,
|
||||||
{ method: 'GET' },
|
{ method: 'GET' },
|
||||||
)
|
)
|
||||||
.then(res => res.json())
|
|
||||||
.then(res => console.log())
|
|
||||||
let resList = await response.json()
|
let resList = await response.json()
|
||||||
let list = await resList.message
|
setHousesList(await resList)
|
||||||
setHousesList(await list)
|
|
||||||
}
|
}
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
|
Loading…
Reference in New Issue