Refactor: Implement chunk load error recovery

This commit is contained in:
gpt-engineer-app[bot]
2025-11-04 21:31:37 +00:00
parent 22522b31ac
commit 68cddbbdd5
2 changed files with 35 additions and 3 deletions

View File

@@ -120,6 +120,9 @@ function NavigationTracker() {
const from = prevLocation.current || undefined;
breadcrumb.navigation(location.pathname, from);
prevLocation.current = location.pathname;
// Clear chunk load reload flag on successful navigation
sessionStorage.removeItem('chunk-load-reload');
}, [location.pathname]);
return null;