diff --git a/src/app/early/page.tsx b/src/app/early/page.tsx index b1d2d05..33726dd 100644 --- a/src/app/early/page.tsx +++ b/src/app/early/page.tsx @@ -31,9 +31,7 @@ export default async function BookPage({ searchParams }: { searchParams: searchP else if (!acc[chapter.book.title!]) { acc[chapter.book.title!] = []; } - else{ - acc[chapter.book.title!].push(chapter); - } + acc[chapter.book.title!].push(chapter); return acc; } , {});