(page = this.state.currentPage)
| 196 | } |
| 197 | |
| 198 | loadComments(page = this.state.currentPage) { |
| 199 | return this.getIssue() |
| 200 | .then(issue => http.get(issue.comments_url, { page, per_page: this.perPage }, '')) |
| 201 | .then((comments) => { |
| 202 | this.state.comments = comments |
| 203 | return comments |
| 204 | }) |
| 205 | } |
| 206 | |
| 207 | loadUserInfo() { |
| 208 | if (!this.accessToken) { |