remove console log debug

This commit is contained in:
Wikzyy
2025-03-16 13:01:00 +07:00
parent 1fc9d72dd6
commit e7be8630ef
4 changed files with 5 additions and 5 deletions

View File

@ -168,7 +168,7 @@ const ManageMunicipiosProvider = ({ children }: { children: React.ReactNode }) =
order_direction: sorting[0].desc == false ? 'ASC' : 'DESC'
}
});
console.log(response.data);
// console.log(response.data);
// const sortedList = response.data.data.list.sort((a: MunicipiosProps, b: MunicipiosProps) => {
// if (a.name < b.name) return -1;
// if (a.name > b.name) return 1;

View File

@ -115,7 +115,7 @@ const AddDialog = () => {
order_direction: sorting[0].desc == false ? 'ASC' : 'DESC'
});
console.log(response?.data);
// console.log(response?.data);
setMunicipios(response?.data.list);
} catch (error) {
console.error('Error fetching municipios', error);

View File

@ -115,7 +115,7 @@ const EditDialog = () => {
order_direction: sorting[0].desc == false ? 'ASC' : 'DESC'
});
console.log(response?.data);
// console.log(response?.data);
setMunicipios(response?.data.list);
};
@ -125,7 +125,7 @@ const EditDialog = () => {
}
}, []);
console.log(selectedPostoAdms);
// console.log(selectedPostoAdms);
return (
<Dialog open={showEditDialog} onOpenChange={(open) => handleEditDialog(open, null)}>

View File

@ -160,7 +160,7 @@ const ManagePostoAdmsContextProvider = ({ children }: { children: React.ReactNod
order_direction: sorting[0].desc ? 'DESC' : 'ASC'
}
});
console.log(response.data);
// console.log(response.data);
// const sortedList = response.data.data.list.sort((a: PostoAdmsProps, b: PostoAdmsProps) => {
// if (a.name < b.name) return -1;
// if (a.name > b.name) return 1;