diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index 081e705..0fa12fa 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -68,7 +68,7 @@ export default function Dashboard() { const formatBytes = (bytes: number) => { if (bytes === 0) return "0 B" const k = 1024 - const sizes = ["B", "KB", "MB", "GB"] + const sizes = ["B", "KB", "MB", "GB", "TB", "PB"] const i = Math.floor(Math.log(bytes) / Math.log(k)) return (bytes / Math.pow(k, i)).toFixed(1) + " " + sizes[i] }