fix(ui): ErrorBoundary bei Navigation resetten — v1.2.70

ErrorBoundary lag in main.tsx außerhalb des Routers und hatte keinen
Zugriff auf useLocation. Einmal gecatchter Fehler blieb erhalten bis
zum nächsten Reload — daher "EdgeGuard konnte nicht laden" bei
Navigation zum Dashboard.

Fix: LocationKeyBoundary-Wrapper innerhalb des BrowserRouter mit
key={pathname} — React remountet die ErrorBoundary bei jedem
Routenwechsel und löscht damit den Error-State automatisch.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Debian
2026-06-02 21:03:23 +02:00
parent 3a122ffb0f
commit 66dec8cf61
2 changed files with 11 additions and 1 deletions

View File

@@ -1 +1 @@
1.2.69
1.2.70