From ab7670c3fc41180a9d02713d0cc383ac2b333764 Mon Sep 17 00:00:00 2001 From: elpatron Date: Fri, 29 May 2026 18:39:53 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20PWA-Update-Button-Ladezustand=20nach=20K?= =?UTF-8?q?lick=20zur=C3=BCcksetzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit setUpdating(false) wieder im finally-Block, damit der Button nicht bis zum Reload hängen bleibt. Co-authored-by: Cursor --- client/src/components/PwaUpdatePrompt.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/components/PwaUpdatePrompt.tsx b/client/src/components/PwaUpdatePrompt.tsx index 491c9ee..b59deee 100644 --- a/client/src/components/PwaUpdatePrompt.tsx +++ b/client/src/components/PwaUpdatePrompt.tsx @@ -14,7 +14,7 @@ export default function PwaUpdatePrompt() { setUpdating(true) try { await updateApp() - } catch { + } finally { setUpdating(false) } }