Skip to content

Commit b9e7401

Browse files
authored
Add missing static propr for StaticRouterProvider (#10401)
1 parent bf8ee9d commit b9e7401

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/soft-moons-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-router-dom": patch
3+
---
4+
5+
Add static prop to `StaticRouterProvider`'s internal `Router` component

packages/react-router-dom/server.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ export function StaticRouterProvider({
136136
location={state.location}
137137
navigationType={state.historyAction}
138138
navigator={dataRouterContext.navigator}
139+
static={dataRouterContext.static}
139140
>
140141
<DataRoutes routes={router.routes} state={state} />
141142
</Router>

0 commit comments

Comments
 (0)