diff options
Diffstat (limited to 'src/client/util/ReportManager.tsx')
-rw-r--r-- | src/client/util/ReportManager.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/client/util/ReportManager.tsx b/src/client/util/ReportManager.tsx index 54208db84..128d58d88 100644 --- a/src/client/util/ReportManager.tsx +++ b/src/client/util/ReportManager.tsx @@ -34,7 +34,7 @@ export class ReportManager extends React.Component<{}> { ReportManager.Instance = this; this.octokit = new Octokit({ - auth: '' + auth: 'auth key' }); } @@ -48,8 +48,6 @@ export class ReportManager extends React.Component<{}> { private formatTitle = (title: string, userEmail: string) => `${title} - ${userEmail.replace('@brown.edu', '')}`; public async reportBug() { - console.log('Reporting bug', this.bugTitle, this.bugDescription); - if (this.toGithub) { const req = await this.octokit.request('POST /repos/{owner}/{repo}/issues', { owner: 'brown-dash', @@ -69,7 +67,7 @@ export class ReportManager extends React.Component<{}> { } } else { - // if not going to github, not sure what to do yet... + // if not going to github issues, not sure what to do yet... } // if we're down here, then we're good to go. @@ -92,7 +90,7 @@ export class ReportManager extends React.Component<{}> { <label>Please leave a title for the bug.</label><br /> <input type="text" placeholder='title' onChange={(e) => this.bugTitle = e.target.value} /> <br /> - <label>Please leave a description for the bug and how it can be reacreated.</label> + <label>Please leave a description for the bug and how it can be recreated.</label> <textarea placeholder='description' onChange={(e) => this.bugDescription = e.target.value}/> <br /><br /> <label>Send to github issues? </label> |