Skip to content

Commit

Permalink
Add patchRoutes to createStaticRouter
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Jun 5, 2024
1 parent 40105aa commit abead7a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/react-router-dom/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,9 @@ export function createStaticRouter(
deleteBlocker() {
throw msg("deleteBlocker");
},
patchRoutes() {
throw msg("patchRoutes");
},
_internalFetchControllers: new Map(),
_internalActiveDeferreds: new Map(),
_internalSetRoutes() {
Expand Down

0 comments on commit abead7a

Please sign in to comment.