import { useDownloadProgress } from "@/hooks/useDownloadProgress"; import { Download } from "lucide-react"; export function DownloadProgressToast() { const progress = useDownloadProgress(); if (!progress.is_downloading) { return null; } return (

{progress.mb_downloaded.toFixed(2)} MB

{progress.speed_mbps > 0 && (

{progress.speed_mbps.toFixed(2)} MB/s

)}
); }