mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 17:51:13 -05:00
Refactor: Implement chunk load error recovery
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user