File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3357,17 +3357,17 @@ async function loadLazyRouteModule(
3357
3357
}
3358
3358
3359
3359
// Mutate the route with the provided updates. Do this first so we pass
3360
- // the updated version to detectErrorBoundary
3360
+ // the updated version to enhanceAgnosticRoute
3361
3361
Object . assign ( routeToUpdate , routeUpdates ) ;
3362
3362
3363
3363
// Mutate the `hasErrorBoundary` property on the route based on the route
3364
3364
// updates and remove the `lazy` function so we don't resolve the lazy
3365
3365
// route again.
3366
3366
Object . assign ( routeToUpdate , {
3367
3367
// To keep things framework agnostic, we use the provided
3368
- // `enhanceAgnosticRoute` or `detectErrorBoundary` function to set the
3369
- // framework-aware properties (`element`/`hasErrorBoundary`) since the
3370
- // logic will differ between frameworks.
3368
+ // `enhanceAgnosticRoute` ( or wrapped `detectErrorBoundary`) function to
3369
+ // set the framework-aware properties (`element`/`hasErrorBoundary`) since
3370
+ // the logic will differ between frameworks.
3371
3371
...enhanceAgnosticRoute ( routeToUpdate ) ,
3372
3372
lazy : undefined ,
3373
3373
} ) ;
You can’t perform that action at this time.
0 commit comments