Skip to content

Commit e6ec51d

Browse files
committed
use the normal form of passing props to the tabbedview
1 parent 17897cc commit e6ec51d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

views/news/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import tabs from './tabs'
1212

1313

1414
export default function NewsPage({navigator, route}: {navigator: typeof Navigator, route: Object}) {
15-
return <TabbedView style={styles.container} tabs={tabs} childProps={{navigator, route}} />
15+
return <TabbedView style={styles.container} tabs={tabs} navigator={navigator} route={route} />
1616
}
1717
NewsPage.propTypes = {
1818
navigator: React.PropTypes.instanceOf(Navigator).isRequired,

0 commit comments

Comments
 (0)