Skip to content

Commit

Permalink
Merge pull request #737 from SirensOfTitan/master
Browse files Browse the repository at this point in the history
Fix Typo in Switch referring to this.props
  • Loading branch information
aksonov committed May 26, 2016
2 parents a3796f9 + f34d039 commit 1a73067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function Switch(props) {
if (!navigationState) console.error(`Cannot find a scene with key “${selectedKey}”`);
return (
<DefaultRenderer
onNavigate={this.props.onNavigate}
onNavigate={props.onNavigate}
navigationState={navigationState}
/>
);
Expand Down

0 comments on commit 1a73067

Please sign in to comment.