Skip to content

Commit 97d64e6

Browse files
committed
Update Introduction.md
Pretty sure you can't have a `const` without defining the value immediately.
1 parent 8ca59b7 commit 97d64e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/Introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const App = React.createClass({
2929
},
3030

3131
render() {
32-
const Child
32+
let Child
3333
switch (this.state.route) {
3434
case '/about': Child = About; break;
3535
case '/inbox': Child = Inbox; break;

0 commit comments

Comments
 (0)