Skip to content

Commit 9a8922e

Browse files
authored
Updates README.md
Fixes typo and makes code clearer with comments
1 parent 2b0b5cb commit 9a8922e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

+4-5
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ class TutoringCalendar extends Component {
1818
PARAM_2,
1919
PARAM_3
2020
).then(function(response) {
21-
this.setState({apiResponse: response})
22-
}.bind(this)
23-
}
24-
25-
}
21+
this.setState({apiResponse: response})
22+
}.bind(this)) // End .then()
23+
} // End componentDidMount
24+
} // End class

0 commit comments

Comments
 (0)