fix(pwa): Recovery-Render-Race beim Reload vermeiden

Stoppt den Bootstrap nach einem erfolgreichen Hard-Recovery sofort, damit vor dem asynchronen Reload kein React-Render mehr gestartet wird.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-31 15:03:00 +02:00
parent 951b5b3f1c
commit 49d77f08a2
+3
View File
@@ -50,6 +50,9 @@ async function bootstrap(): Promise<void> {
window.location.reload()
return
}
if (startupResult === 'recovered') {
return
}
const rootEl = document.getElementById('root')
if (!rootEl) {