Skip to content

Commit 1b9c0b0

Browse files
Merge branch 'pr514' into HEAD
2 parents 65bb573 + 5dd6dd3 commit 1b9c0b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/React.Router/ReactRouterComponent.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ protected override string GetComponentInitialiser()
6969
{
7070
return string.Format(
7171
@"React.createElement
72-
({0}, Object.assign({1}, {{ path: '{2}', context: context }}))",
72+
({0}, Object.assign({1}, {{ location: '{2}', context: context }}))",
7373
ComponentName,
7474
_serializedProps,
7575
_path

0 commit comments

Comments
 (0)