Skip to content

Commit 8c1c474

Browse files
Update react router sample: Use location prop
1 parent 1b9c0b0 commit 8c1c474

File tree

1 file changed

+1
-1
lines changed
  • src/React.Sample.Router.CoreMvc/Content/components

1 file changed

+1
-1
lines changed

src/React.Sample.Router.CoreMvc/Content/components/home.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default class HomeComponent extends Component {
6868

6969
if (typeof window === 'undefined') {
7070
return (
71-
<StaticRouter context={this.props.context} location={this.props.path}>
71+
<StaticRouter context={this.props.context} location={this.props.location}>
7272
{app}
7373
</StaticRouter>
7474
);

0 commit comments

Comments
 (0)