fix errors de llamado de variables

This commit is contained in:
Mariela 2022-08-01 01:32:07 -06:00
parent b213900733
commit b35666ee5b
1 changed files with 2 additions and 2 deletions

View File

@ -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({