React wants key props in all arrays
Remove unnecessary array
Allow the maxHits prop to be null (when showing all hits)