refacto : komgaServiceConfig unused

This commit is contained in:
Julien Froidefond
2025-02-14 12:57:44 +01:00
parent bd652fc1ff
commit b7f12b8bf6
6 changed files with 5 additions and 25 deletions

View File

@@ -17,8 +17,6 @@ export default async function SeriesPage({ params, searchParams }: PageProps) {
const unreadOnly = searchParams.unread === "true";
try {
const cookiesStore = cookies();
const config = komgaConfigService.validateAndGetConfig(cookiesStore);
const pageIndex = currentPage - 1;
// Appels API parallèles pour les détails de la série et les tomes
@@ -32,7 +30,6 @@ export default async function SeriesPage({ params, searchParams }: PageProps) {
<SeriesHeader series={series} />
<PaginatedBookGrid
books={books.content || []}
serverUrl={config.serverUrl}
currentPage={currentPage}
totalPages={books.totalPages}
totalElements={books.totalElements}