Skip to content

Commit 26aa871

Browse files
authored
Fixes #7272 (#7274)
1 parent c0b8ce4 commit 26aa871

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-router-native/examples/Recursive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ const PEEPS = [
1313
const find = id => PEEPS.find(p => p.id === id);
1414

1515
function Person({ match }) {
16-
const person = find(match.params.id);
16+
const person = find(parseInt(match.params.id, 10));
1717

1818
return (
1919
<ScrollView style={styles.container}>

0 commit comments

Comments
 (0)