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(
34873487 invariant (
34883488 requestContext instanceof unstable_RouterContextProvider ,
34893489 "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`"
34913491 ) ;
34923492 try {
34933493 let renderedStaticContext : StaticHandlerContext | undefined ;
@@ -3682,7 +3682,7 @@ export function createStaticHandler(
36823682 invariant (
36833683 requestContext instanceof unstable_RouterContextProvider ,
36843684 "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`"
36863686 ) ;
36873687 let response = await runMiddlewarePipeline (
36883688 {
You can’t perform that action at this time.
0 commit comments