diff --git a/src/App.js b/src/App.js index 0a78a16..658a58a 100644 --- a/src/App.js +++ b/src/App.js @@ -126,6 +126,7 @@ class App extends React.Component { e.preventDefault(); this.componentWillMount(); } + clearInput() { this.setState({ city_name: "", @@ -197,11 +198,13 @@ class App extends React.Component { onChange={this.city} placeholder="Enter desired location" > - -