From b35666ee5b736a1ffe41a5bb5cfefbd5bd9a693b Mon Sep 17 00:00:00 2001 From: Mariela Date: Mon, 1 Aug 2022 01:32:07 -0600 Subject: [PATCH] fix errors de llamado de variables --- web-ui/web-react/src/components/AreasComunes.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web-ui/web-react/src/components/AreasComunes.js b/web-ui/web-react/src/components/AreasComunes.js index ed5ef7d3..52d2c726 100644 --- a/web-ui/web-react/src/components/AreasComunes.js +++ b/web-ui/web-react/src/components/AreasComunes.js @@ -125,7 +125,7 @@ const AreasComunes = () => { }; const deleteSelectedCommonAreas = () => { - let _commonareas = commonAreaList.filter( + let _common_areas = commonAreaList.filter( (val) => !selectedCommonAreas.includes(val), ); selectedCommonAreas.map((item) => { @@ -140,7 +140,7 @@ const AreasComunes = () => { _common_areas = _common_areas.filter( (val) => val.status != -1, ) - setCommonAreaList(_commonareas); + setCommonAreaList(_common_areas); setDeleteCommonAreasDialog(false); setSelectedCommonAreas(null); toast.current.show({