Skip to content

Commit

Permalink
v2.8 clean up console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
chaozhang-nci committed Sep 10, 2024
1 parent 34992aa commit 0b971e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/data/prod/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -426,7 +426,7 @@ let tempA;
/*=======================================================================*/
/*======== Get Chart data =================================================*/
async function getChartData() {
console.log('MHL getChartData1 ***');
// console.log('MHL getChartData1 ***');
return await fetch(`/publicapi/v1/chartData`)
.then(handleResponse)
.catch(handleErrorMsg('Unable to fetch messages at this time.'))
Expand Down
2 changes: 0 additions & 2 deletions src/pages/about/StudyProgressPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,15 +130,13 @@ const StudyProgressPage = () => {
if(resp instanceof Error) {
throw resp
}
console.dir(resp);
setProjectSummary(resp["projectSummary"][0]);
setDBLastUpdatedDate(resp["projectSummary"][0].lastRevisedDate);
setDataCancerType(resp["cancerType"]);
setDataEth(resp["patientEthnicity"]);
setDataRace(resp["patientRace"]);
setBarDataAge(resp["patientAge"]);
setDataRuralUrban(resp["ruralUrban"].map((data, index) => {
console.log(" rual " + data.label)
data.fill = (data.label).includes(".Urban")? "#246AD4": "#61A1EC";
return data;
}));
Expand Down

0 comments on commit 0b971e9

Please sign in to comment.