We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0b8ce4 commit 26aa871Copy full SHA for 26aa871
packages/react-router-native/examples/Recursive.js
@@ -13,7 +13,7 @@ const PEEPS = [
13
const find = id => PEEPS.find(p => p.id === id);
14
15
function Person({ match }) {
16
- const person = find(match.params.id);
+ const person = find(parseInt(match.params.id, 10));
17
18
return (
19
<ScrollView style={styles.container}>
0 commit comments