Changed adcess page to allow more access

This commit is contained in:
Hieuhuy Pham 2025-03-12 01:13:02 -04:00
parent 906ad8a7a1
commit b7f7fd1989

View File

@ -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;
}
, {});