Skip to content

Commit b77cded

Browse files
Fix docs for InitialParams (react-navigation#814)
1 parent ee6ddc2 commit b77cded

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

versioned_docs/version-5.x/upgrading-from-4.x.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ This means, now we can access screen's params through `route.params` instead of
113113

114114
```js
115115
function ProfileScreen({ route }) {
116-
const userId = route.params.me;
116+
const userId = route.params.user;
117117

118118
// ...
119119
}

0 commit comments

Comments
 (0)