title: React Pagination and search component number bug
body: <p>I have a search that displays no more that 10 items in total. I'm 100% sure there more than 10 results.</p>
  <p>I think the issue is here:
  <code>&lt;span&gt;{movies.length} results found&lt;/span&gt;</code></p>
  <p>with this variable
  <code>const maxPages = Math.floor(movies.length / PAGE_SIZE);</code></p>
  <p>I'm quite new with react, I really hope i explained myself properly.
  <a href="https://codepen.io/davide77/pen/ZEyeXJd?editors=0010" rel="nofollow noreferrer">Demo here</a></p>