diff options
Diffstat (limited to 'frontend/components/drive/DriveDirectoryClient.tsx')
| -rw-r--r-- | frontend/components/drive/DriveDirectoryClient.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/frontend/components/drive/DriveDirectoryClient.tsx b/frontend/components/drive/DriveDirectoryClient.tsx index c956fec..2a213f9 100644 --- a/frontend/components/drive/DriveDirectoryClient.tsx +++ b/frontend/components/drive/DriveDirectoryClient.tsx | |||
| @@ -37,6 +37,7 @@ import { DriveLsEntry } from "@/lib/drive_types" | |||
| 37 | import { UPLOAD_MAX_FILE_SIZE, UPLOAD_MAX_FILES } from "@/lib/constants" | 37 | import { UPLOAD_MAX_FILE_SIZE, UPLOAD_MAX_FILES } from "@/lib/constants" |
| 38 | import { DriveMoveDialog } from "./DriveMoveDialog" | 38 | import { DriveMoveDialog } from "./DriveMoveDialog" |
| 39 | import { StorageUsage } from "./StorageUsage" | 39 | import { StorageUsage } from "./StorageUsage" |
| 40 | import type { StorageData } from "@/lib/storage" | ||
| 40 | 41 | ||
| 41 | function formatFileSize(bytes: number): string { | 42 | function formatFileSize(bytes: number): string { |
| 42 | if (bytes === 0) return "0 Bytes" | 43 | if (bytes === 0) return "0 Bytes" |
| @@ -67,12 +68,6 @@ interface Breadcrumb { | |||
| 67 | path: string | 68 | path: string |
| 68 | } | 69 | } |
| 69 | 70 | ||
| 70 | interface StorageData { | ||
| 71 | activeDriveUsage: number | ||
| 72 | totalDiskCapacity: number | ||
| 73 | totalDiskUsed: number | ||
| 74 | availableDisk: number | ||
| 75 | } | ||
| 76 | 71 | ||
| 77 | interface DriveDirectoryClientProps { | 72 | interface DriveDirectoryClientProps { |
| 78 | path: string | 73 | path: string |
