mirror of
https://github.com/apricote/Listory.git
synced 2026-02-08 02:37:03 +00:00
chore: run prettier format
This commit is contained in:
parent
b6c7c9e16d
commit
f56548e432
12 changed files with 95 additions and 95 deletions
|
|
@ -79,8 +79,9 @@ export class ReportsService {
|
|||
const { eachOfInterval, isSame } = timeframeToDateFns[timeFrame];
|
||||
|
||||
const reportItems = eachOfInterval(interval).map((date) => {
|
||||
const count = listens.filter((listen) => isSame(date, listen.playedAt))
|
||||
.length;
|
||||
const count = listens.filter((listen) =>
|
||||
isSame(date, listen.playedAt)
|
||||
).length;
|
||||
return { date: formatISO(date), count };
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue