From 4ea3a75dc0a8856ab82c5f37779d924a0aa9e7af Mon Sep 17 00:00:00 2001 From: Sucukdeluxe Date: Mon, 2 Mar 2026 18:55:27 +0100 Subject: [PATCH] Fix bandwidth chart not updating, fix pause button blocked by actionBusy - Bandwidth chart drawChart effect now runs on every re-render instead of only when running/paused changes (chart was stuck showing empty) - Pause button no longer wrapped in performQuickAction/actionBusy guard, so it works immediately even during ongoing operations Co-Authored-By: Claude Opus 4.6 --- src/renderer/App.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/renderer/App.tsx b/src/renderer/App.tsx index 222a0c6..5d00c3e 100644 --- a/src/renderer/App.tsx +++ b/src/renderer/App.tsx @@ -306,7 +306,7 @@ const BandwidthChart = memo(function BandwidthChart({ items, running, paused }: useEffect(() => { drawChart(); - }, [drawChart]); + }); return (
@@ -1903,10 +1903,10 @@ export function App(): ReactElement {