Skip to content

Commit 3f8792c

Browse files
committed
format
1 parent 0cea88c commit 3f8792c

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

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

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2902,14 +2902,14 @@ export function createRouter(init: RouterInit): Router {
29022902

29032903
if (request.signal.aborted) {
29042904
matches
2905-
.filter((m) => m.shouldLoad)
2906-
.forEach((m) => {
2907-
dataResults[m.route.id] = {
2908-
type: ResultType.error,
2909-
error: new Error("Data loading aborted"),
2910-
};
2911-
});
2912-
return dataResults
2905+
.filter((m) => m.shouldLoad)
2906+
.forEach((m) => {
2907+
dataResults[m.route.id] = {
2908+
type: ResultType.error,
2909+
error: new Error("Data loading aborted"),
2910+
};
2911+
});
2912+
return dataResults;
29132913
}
29142914

29152915
for (let [routeId, result] of Object.entries(results)) {

0 commit comments

Comments
 (0)