diff --git a/src/components/App.jsx b/src/components/App.jsx index 59d784d..9ded92e 100644 --- a/src/components/App.jsx +++ b/src/components/App.jsx @@ -75,6 +75,10 @@ class App extends Component { }; handleSubmit = searchQuery => { + if (searchQuery === this.state.searchQuery) { + return; + } + this.setState({ searchQuery: searchQuery, images: [],