Skip to content

Commit

Permalink
Fixes #7272 (#7274)
Browse files Browse the repository at this point in the history
  • Loading branch information
vicary authored Apr 21, 2020
1 parent c0b8ce4 commit 26aa871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-router-native/examples/Recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const PEEPS = [
const find = id => PEEPS.find(p => p.id === id);

function Person({ match }) {
const person = find(match.params.id);
const person = find(parseInt(match.params.id, 10));

return (
<ScrollView style={styles.container}>
Expand Down

0 comments on commit 26aa871

Please sign in to comment.