diff --git a/app/javascript/githubRepos/githubRepos.jsx b/app/javascript/githubRepos/githubRepos.jsx index 7238f63a5..52ba8b7e1 100644 --- a/app/javascript/githubRepos/githubRepos.jsx +++ b/app/javascript/githubRepos/githubRepos.jsx @@ -23,8 +23,7 @@ export class GithubRepos extends Component { .then(json => { this.setState({ repos: json }); }) - .catch(error => { - console.log(error); + .catch(() => { this.setState({ erroredOut: true }); }); }; diff --git a/app/javascript/listings/elements/title.jsx b/app/javascript/listings/elements/title.jsx index 472eea888..a8c325b2c 100644 --- a/app/javascript/listings/elements/title.jsx +++ b/app/javascript/listings/elements/title.jsx @@ -3,9 +3,11 @@ import { h } from 'preact'; const domId = 1; -const Title = ( { onChange, defaultValue }) => ( +const Title = ({ onChange, defaultValue }) => (