Skip to content

Commit b466024

Browse files
committed
Remove unused param
1 parent 148e35e commit b466024

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4226,7 +4226,6 @@ export function createStaticHandler(
42264226
matches,
42274227
results,
42284228
pendingActionResult,
4229-
undefined,
42304229
true,
42314230
skipLoaderErrorBubbling
42324231
);
@@ -5995,7 +5994,6 @@ function processRouteLoaderData(
59955994
matches: AgnosticDataRouteMatch[],
59965995
results: Record<string, DataResult>,
59975996
pendingActionResult: PendingActionResult | undefined,
5998-
currentLoaderData?: RouterState["loaderData"],
59995997
isStaticHandler = false,
60005998
skipLoaderErrorBubbling = false
60015999
): {
@@ -6108,8 +6106,7 @@ function processLoaderData(
61086106
let { loaderData, errors } = processRouteLoaderData(
61096107
matches,
61106108
results,
6111-
pendingActionResult,
6112-
state.loaderData
6109+
pendingActionResult
61136110
);
61146111

61156112
// Process results from our revalidating fetchers

0 commit comments

Comments
 (0)