Merge pull request #62 from vaxepi/ocv-tuning

console.log removed
This commit is contained in:
F Shrabon 2024-12-02 18:38:15 +06:00 committed by GitHub
commit 379d32e550
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 2 additions and 5 deletions

View File

@ -133,10 +133,8 @@ const ParentInfoCard: React.FC<ParentInfoCardProps> = ({
mainData,
}) => {
const { parent } = data;
console.log(mainData?.parent?.firstName);
const isChildren = !!parent?.connected;
console.log(parent);
console.log(isChildren);
return (
<div className="bg-white px-3 py-3.5 pl-5 rounded-2xl shadow-sm">
<div className="space-y-3">

View File

@ -43,7 +43,7 @@ const OcvBeneficiaryList = () => {
const payload = JSON.parse(params);
mutateAsync(payload);
} catch (error) {
console.log(error);
console.error(error);
}
}
}, [mutateAsync, params]);

View File

@ -1,5 +1,4 @@
export const errorLog = (error: any) => {
console.log(error?.response);
try {
if (error?.response?.data && typeof error.response.data === "string") {
return error.response.data;