From 835a1c2fcd7eaef3c1abc53bc6b34612b24ea6b2 Mon Sep 17 00:00:00 2001 From: Pierre Berger Date: Thu, 23 Oct 2025 23:16:30 +0200 Subject: [PATCH] ui: add missing close handler to cancel button on PauseBlockingDialog --- client/src/components/nav-actions.tsx | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/client/src/components/nav-actions.tsx b/client/src/components/nav-actions.tsx index e3a2e8a..ea32d38 100644 --- a/client/src/components/nav-actions.tsx +++ b/client/src/components/nav-actions.tsx @@ -143,7 +143,11 @@ function CheckForUpdate() { }); } -export default function PauseBlockingDialog() { +export default function PauseBlockingDialog({ + onClose +}: { + onClose: () => void; +}) { type PausedResponse = { paused: boolean; timeLeft: number; @@ -268,7 +272,11 @@ export default function PauseBlockingDialog() { -