diff --git a/src/App.js b/src/App.js index 9c0884b..2097cc2 100644 --- a/src/App.js +++ b/src/App.js @@ -18,7 +18,7 @@ class App extends React.Component { loading: false, repositories: [], labels: ["good first issue", "help wanted"], - loadingMessage: "Fetching Issues... ", + loadingMessage: "loadingMessage: Searching GitHub for beginner-friendly repos... ", minGoodFirstIssues: 1, minStars: 0, minDate: initMinDate(), @@ -99,7 +99,7 @@ class App extends React.Component { } else { expandedTableRows.add(i); } - this.setState(expandedTableRows); + this.setState({expandedTableRows}); }; const setMinDate = e => this.setState({ minDate: e.target.value }); @@ -117,7 +117,8 @@ class App extends React.Component {
{Header()} diff --git a/src/formSelect.js b/src/formSelect.js index ae4dd9c..b2a0907 100644 --- a/src/formSelect.js +++ b/src/formSelect.js @@ -89,7 +89,7 @@ export function MinGoodFirstIssues(props) { } export function MinStars(props) { - const options = [0, 1, 2, 3, 4, 5, 10, 25, 50, 100, 250, 500, 1000].map( + const options = [ 50, 100, 250, 500, 1000].map( mapOptions ); return (