Skip to content

Commit

Permalink
Add missing static propr for StaticRouterProvider (#10401)
Browse files Browse the repository at this point in the history
  • Loading branch information
brophdawg11 committed Apr 26, 2023
1 parent bf8ee9d commit b9e7401
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/soft-moons-sneeze.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react-router-dom": patch
---

Add static prop to `StaticRouterProvider`'s internal `Router` component
1 change: 1 addition & 0 deletions packages/react-router-dom/server.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ export function StaticRouterProvider({
location={state.location}
navigationType={state.historyAction}
navigator={dataRouterContext.navigator}
static={dataRouterContext.static}
>
<DataRoutes routes={router.routes} state={state} />
</Router>
Expand Down

0 comments on commit b9e7401

Please sign in to comment.