Run ./check and make it happy

This commit is contained in:
GithubAnon0000 2025-05-03 00:12:16 +02:00
parent 17e6541f76
commit b5099989df

View file

@ -224,7 +224,7 @@ export function renderButtons(
const correctStr = tr.statisticsHoursCorrect(totalCorrect(d.group));
const correctStrInfo = tr.statisticsHoursCorrectInfo();
const pressedStr = `${timesPressed}: ${totalPressedStr(d)}`;
let buttonText: string;
if (d.buttonNum === 1) {
buttonText = tr.studyingAgain();
@ -234,8 +234,10 @@ export function renderButtons(
buttonText = tr.studyingGood();
} else if (d.buttonNum === 4) {
buttonText = tr.studyingEasy();
} else {
buttonText = "";
}
return `${button}: ${d.buttonNum} (${buttonText})<br>${pressedStr}<br>${correctStr} ${correctStrInfo}`;
}