change empty to const

This commit is contained in:
Eduardo Quiros 2022-09-01 10:36:20 -06:00
parent a089525afc
commit 1d684d74fd
No known key found for this signature in database
GPG Key ID: B77F36C3F12720B4
1 changed files with 1 additions and 2 deletions

View File

@ -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',