fix linting errors
CI / build (push) Failing after 1s
CI / lint (push) Has been skipped
CI / create-and-publish-docker-image (push) Has been skipped

This commit is contained in:
2026-05-25 16:30:47 +02:00
parent ccc4de81b6
commit e497aabb51
2 changed files with 2 additions and 29 deletions
+2 -3
View File
@@ -14,9 +14,6 @@ function choreItem(chore: FlatasticChore, idToNameMap: Record<number, string>) {
className = chore.timeLeftNext <= 0 ? "due" : "notDue";
const timeInDays = Math.abs(chore.timeLeftNext) / (60 * 60 * 24) + 1;
console.log(chore.title, timeInDays);
const grubers = Math.floor(timeInDays / 100);
const days = Math.floor(timeInDays % 100);
@@ -26,6 +23,8 @@ function choreItem(chore: FlatasticChore, idToNameMap: Record<number, string>) {
{days > 0 && `${days} d`}
</span>
);
Math.abs(chore.timeLeftNext) / (60 * 60 * 24) + 1;
}
return (