diff --git a/docs/Introduction.md b/docs/Introduction.md index 90a30a5b30..2e501d99c7 100644 --- a/docs/Introduction.md +++ b/docs/Introduction.md @@ -29,7 +29,7 @@ const App = React.createClass({ }, render() { - const Child + let Child switch (this.state.route) { case '/about': Child = About; break; case '/inbox': Child = Inbox; break;