From 1d684d74fdbaf076cde966fd5591c2a069f638d9 Mon Sep 17 00:00:00 2001 From: Eduardo Quiros Date: Thu, 1 Sep 2022 10:36:20 -0600 Subject: [PATCH] change empty to const --- web-ui/web-react/src/components/ComunidadViviendas.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/web-ui/web-react/src/components/ComunidadViviendas.js b/web-ui/web-react/src/components/ComunidadViviendas.js index dff13e13..d3d4f23c 100644 --- a/web-ui/web-react/src/components/ComunidadViviendas.js +++ b/web-ui/web-react/src/components/ComunidadViviendas.js @@ -16,7 +16,7 @@ import { faHashtag } from '@fortawesome/free-solid-svg-icons'; import { faCircleQuestion } from '@fortawesome/free-solid-svg-icons'; const Communities = () => { - let emptyCommunity = { + const emptyCommunity = { _id: null, name: '', province: provinciaId, @@ -214,7 +214,6 @@ const Communities = () => { number_house: codeHouses + (i + 1), }); } - // console.log(houses) fetch('http://localhost:4000/community/createCommunity', { cache: 'no-cache', method: 'POST',