refactor: remove pending downloads from dashboard and files pages

- Eliminated pendingDownloads and onCancelDownload props from DashboardPage and FilesPage components to streamline the UI.
This commit is contained in:
Daniel Luiz Alves
2025-09-25 14:25:40 -03:00
parent 2446f2fb55
commit 64d28dc778
2 changed files with 0 additions and 4 deletions

View File

@@ -46,8 +46,6 @@ export default function DashboardPage() {
icon={<IconLayoutDashboardFilled className="text-xl" />}
showBreadcrumb={false}
title={t("dashboard.pageTitle")}
pendingDownloads={fileManager.pendingDownloads}
onCancelDownload={fileManager.cancelPendingDownload}
>
<StorageUsage diskSpace={diskSpace} diskSpaceError={diskSpaceError} onRetry={handleRetryDiskSpace} />
<QuickAccessCards />

View File

@@ -119,8 +119,6 @@ export default function FilesPage() {
breadcrumbLabel={t("files.breadcrumb")}
icon={<IconFolderOpen size={20} />}
title={t("files.pageTitle")}
pendingDownloads={fileManager.pendingDownloads}
onCancelDownload={fileManager.cancelPendingDownload}
>
<Card>
<CardContent>