diff --git a/frontend/src/components/Downloads.tsx b/frontend/src/components/Downloads.tsx index 1b114bd..57bfa22 100644 --- a/frontend/src/components/Downloads.tsx +++ b/frontend/src/components/Downloads.tsx @@ -17,7 +17,7 @@ const Downloads: React.FC = () => { useEffect(() => { setTotalDownloadSpeed( - downloads.map(d => d.progress.speed).reduce((curr, next) => curr + next) + downloads.map(d => d.progress.speed).reduce((curr, next) => curr + next, 0) ) }, [downloads])