Skip to content

Commit bbe4a73

Browse files
committed
chore: format
1 parent c4642c8 commit bbe4a73

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/react-router/lib/rsc/server.rsc.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1188,8 +1188,7 @@ async function getRSCRouteMatch({
11881188
const params = match.params;
11891189
// TODO: DRY this up once it's fully fleshed out
11901190
let element: React.ReactElement | undefined = undefined;
1191-
let shouldLoadRoute =
1192-
!routeIdsToLoad || routeIdsToLoad.includes(route.id);
1191+
let shouldLoadRoute = !routeIdsToLoad || routeIdsToLoad.includes(route.id);
11931192
// Only bother rendering Server Components for routes that we're surfacing,
11941193
// so nothing at/below an error boundary and prune routes if included in
11951194
// `routeIdsToLoad`. This is specifically important when a middleware

0 commit comments

Comments
 (0)