diff --git a/src/App.jsx b/src/App.jsx index d974fe4..9fd8bdb 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -20,9 +20,9 @@ class App extends Component { .then(response => response.json()).then( users => this.setState({ monsters: users }) ) - } + } - handleChange = e => { + onSearchChange = e => { this.setState({ searchField: e.target.value }) } @@ -34,11 +34,11 @@ class App extends Component { return ( -