fix: PWA-Update-Button-Ladezustand nach Klick zurücksetzen

setUpdating(false) wieder im finally-Block, damit der Button nicht bis zum Reload hängen bleibt.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-29 18:39:53 +02:00
co-authored by Cursor
parent 41fb106153
commit ab7670c3fc
+1 -1
View File
@@ -14,7 +14,7 @@ export default function PwaUpdatePrompt() {
setUpdating(true)
try {
await updateApp()
} catch {
} finally {
setUpdating(false)
}
}