diff --git a/src/components/downloads/DownloadManager.tsx b/src/components/downloads/DownloadManager.tsx
index 22e372c..15d2b01 100644
--- a/src/components/downloads/DownloadManager.tsx
+++ b/src/components/downloads/DownloadManager.tsx
@@ -13,6 +13,7 @@ import Link from "next/link";
import { BookOfflineButton } from "@/components/ui/book-offline-button";
import { useTranslate } from "@/hooks/useTranslate";
import logger from "@/lib/logger";
+import { Container } from "@/components/ui/container";
type BookStatus = "idle" | "downloading" | "available" | "error";
@@ -150,54 +151,55 @@ export function DownloadManager() {
}
return (
- <>
-
-
{t("downloads.page.title")}
- {t("downloads.page.description") && (
-
{t("downloads.page.description")}
- )}
-
-
-
-
-
- {t("downloads.tabs.all", { count: downloadedBooks.length })}
-
-
- {t("downloads.tabs.downloading", {
- count: downloadedBooks.filter((b) => b.status.status === "downloading").length,
- })}
-
-
- {t("downloads.tabs.available", {
- count: downloadedBooks.filter((b) => b.status.status === "available").length,
- })}
-
-
- {t("downloads.tabs.error", {
- count: downloadedBooks.filter((b) => b.status.status === "error").length,
- })}
-
-
- {downloadedBooks.some((b) => b.status.status === "error") && (
-
+
+
+
+
{t("downloads.page.title")}
+ {t("downloads.page.description") && (
+
{t("downloads.page.description")}
)}
+
+
+
+
+ {t("downloads.tabs.all", { count: downloadedBooks.length })}
+
+
+ {t("downloads.tabs.downloading", {
+ count: downloadedBooks.filter((b) => b.status.status === "downloading").length,
+ })}
+
+
+ {t("downloads.tabs.available", {
+ count: downloadedBooks.filter((b) => b.status.status === "available").length,
+ })}
+
+
+ {t("downloads.tabs.error", {
+ count: downloadedBooks.filter((b) => b.status.status === "error").length,
+ })}
+
+
+ {downloadedBooks.some((b) => b.status.status === "error") && (
+
+ )}
+
{downloadedBooks.map(({ book, status }) => (
@@ -269,7 +271,8 @@ export function DownloadManager() {
)}
- >
+
+
);
}