File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-router/lib/router Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -3487,7 +3487,7 @@ export function createStaticHandler(
3487
3487
invariant (
3488
3488
requestContext instanceof unstable_RouterContextProvider ,
3489
3489
"When using middleware in `staticHandler.query()`, any provided " +
3490
- "`requestContext` must bean instance of `unstable_RouterContextProvider`"
3490
+ "`requestContext` must be an instance of `unstable_RouterContextProvider`"
3491
3491
) ;
3492
3492
try {
3493
3493
let renderedStaticContext : StaticHandlerContext | undefined ;
@@ -3682,7 +3682,7 @@ export function createStaticHandler(
3682
3682
invariant (
3683
3683
requestContext instanceof unstable_RouterContextProvider ,
3684
3684
"When using middleware in `staticHandler.queryRoute()`, any provided " +
3685
- "`requestContext` must bean instance of `unstable_RouterContextProvider`"
3685
+ "`requestContext` must be an instance of `unstable_RouterContextProvider`"
3686
3686
) ;
3687
3687
let response = await runMiddlewarePipeline (
3688
3688
{
You can’t perform that action at this time.
0 commit comments