fix linting errors
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user