Skip to content

Commit a65c398

Browse files
committed
Comment updates
1 parent 87ba5e3 commit a65c398

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/router/router.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,17 +3357,17 @@ async function loadLazyRouteModule(
33573357
}
33583358

33593359
// 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
33613361
Object.assign(routeToUpdate, routeUpdates);
33623362

33633363
// Mutate the `hasErrorBoundary` property on the route based on the route
33643364
// updates and remove the `lazy` function so we don't resolve the lazy
33653365
// route again.
33663366
Object.assign(routeToUpdate, {
33673367
// 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.
33713371
...enhanceAgnosticRoute(routeToUpdate),
33723372
lazy: undefined,
33733373
});

0 commit comments

Comments
 (0)