remove console log debug
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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)}>
|
||||
|
||||
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user