Skip to content

Commit f77743a

Browse files
committed
chore: format
1 parent 8af53e7 commit f77743a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

packages/router/router.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4074,12 +4074,12 @@ function getShortCircuitMatches(routes: AgnosticDataRouteObject[]): {
40744074
route: AgnosticDataRouteObject;
40754075
} {
40764076
// Prefer a root layout route if present, otherwise shim in a route object
4077-
let route =
4078-
routes.length === 1
4079-
? routes[0]
4080-
: routes.find((r) => r.index || !r.path || r.path === "/") || {
4081-
id: `__shim-error-route__`,
4082-
};
4077+
let route =
4078+
routes.length === 1
4079+
? routes[0]
4080+
: routes.find((r) => r.index || !r.path || r.path === "/") || {
4081+
id: `__shim-error-route__`,
4082+
};
40834083

40844084
return {
40854085
matches: [

0 commit comments

Comments
 (0)