From b7f7fd198989d8485923d16f20972ee51bbaa77c Mon Sep 17 00:00:00 2001 From: Hieuhuy Pham Date: Wed, 12 Mar 2025 01:13:02 -0400 Subject: [PATCH] Changed adcess page to allow more access --- src/app/early/page.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } , {});