remove debug statement from graphs

This commit is contained in:
Damien Elmes 2020-08-28 14:40:02 +10:00
parent fd854630ff
commit f997c7eb8b

View File

@ -383,7 +383,6 @@ export function renderReviews(
.domain(x.domain() as any)(sourceData.reviewCount.entries() as any); .domain(x.domain() as any)(sourceData.reviewCount.entries() as any);
const totalReviews = sum(countBins, (bin) => cumulativeBinValue(bin as any, 4)); const totalReviews = sum(countBins, (bin) => cumulativeBinValue(bin as any, 4));
const totalSecs = total / 1000; const totalSecs = total / 1000;
console.log(`total secs ${totalSecs} total reviews ${totalReviews}`);
const avgSecs = totalSecs / totalReviews; const avgSecs = totalSecs / totalReviews;
const cardsPerMin = (totalReviews * 60) / totalSecs; const cardsPerMin = (totalReviews * 60) / totalSecs;
averageAnswerTime = i18n.tr(i18n.TR.STATISTICS_AVERAGE_ANSWER_TIME, { averageAnswerTime = i18n.tr(i18n.TR.STATISTICS_AVERAGE_ANSWER_TIME, {