Remove useles console log
This commit is contained in:
parent
85c8136e5b
commit
b86bdfc34d
3
package-lock.json
generated
3
package-lock.json
generated
@ -19,6 +19,7 @@
|
|||||||
"dotenv": "^16.0.3",
|
"dotenv": "^16.0.3",
|
||||||
"eslint": "8.36.0",
|
"eslint": "8.36.0",
|
||||||
"eslint-config-next": "13.2.4",
|
"eslint-config-next": "13.2.4",
|
||||||
|
"form-data": "^4.0.0",
|
||||||
"le-coffre-resources": "git@github.com:smart-chain-fr/leCoffre-resources.git#v2.40",
|
"le-coffre-resources": "git@github.com:smart-chain-fr/leCoffre-resources.git#v2.40",
|
||||||
"next": "13.2.4",
|
"next": "13.2.4",
|
||||||
"prettier": "^2.8.7",
|
"prettier": "^2.8.7",
|
||||||
@ -3203,7 +3204,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/le-coffre-resources": {
|
"node_modules/le-coffre-resources": {
|
||||||
"resolved": "git+ssh://git@github.com/smart-chain-fr/leCoffre-resources.git#b3d3495c0e65afc0b149d6c07fd5741e144e2aaa",
|
"resolved": "git+ssh://git@github.com/smart-chain-fr/leCoffre-resources.git#62639b8bfcd0f779357554a04cd40e8a3ba4e62b",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"class-transformer": "^0.5.1",
|
"class-transformer": "^0.5.1",
|
||||||
|
@ -31,7 +31,6 @@ export default abstract class BaseApiService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
protected buildBody(body: { [key: string]: unknown }): string {
|
protected buildBody(body: { [key: string]: unknown }): string {
|
||||||
console.log("2 >> body >>>", JSON.stringify(body));
|
|
||||||
return JSON.stringify(body);
|
return JSON.stringify(body);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -143,7 +143,6 @@ export default class UserFolder extends React.Component<IProps, IState> {
|
|||||||
const numberDocumentsAsked: number = this.getDocumentsByStatus(EDocumentStatus.ASKED)?.length || 0;
|
const numberDocumentsAsked: number = this.getDocumentsByStatus(EDocumentStatus.ASKED)?.length || 0;
|
||||||
const depositedDocuments: number = totalDocuments - numberDocumentsAsked - numberDocumentsRefused;
|
const depositedDocuments: number = totalDocuments - numberDocumentsAsked - numberDocumentsRefused;
|
||||||
|
|
||||||
console.log(numberDocumentsRefused, numberDocumentsAsked, depositedDocuments, totalDocuments)
|
|
||||||
const percentage = (depositedDocuments / totalDocuments) * 100;
|
const percentage = (depositedDocuments / totalDocuments) * 100;
|
||||||
return isNaN(percentage) ? 0 : percentage;
|
return isNaN(percentage) ? 0 : percentage;
|
||||||
}
|
}
|
||||||
|
@ -115,7 +115,6 @@ export default class ClientDashboard extends Base<IProps, IState> {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
const documents: Document[] = await Documents.getInstance().get(query);
|
const documents: Document[] = await Documents.getInstance().get(query);
|
||||||
console.log({ documents });
|
|
||||||
this.setState({ documents });
|
this.setState({ documents });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -203,7 +203,6 @@ class AskDocumentsClass extends BasePage<IPropsClass, IState> {
|
|||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log("Deed : ", deed);
|
|
||||||
await this.loadData();
|
await this.loadData();
|
||||||
this.setState({
|
this.setState({
|
||||||
isCreateDocumentModalVisible: false,
|
isCreateDocumentModalVisible: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user