<%= javascript_pack_tag 'application' %>

<%= react_component('public/SearchResults', {
  site: @site_page.site,
  search: @search_string,
  page: @page_number,
  totalPages: @total_pages,
  results: @search_results
}) %>

<script type="text/javascript">
  window.route = 'SearchResults';
</script>



<%= javascript_pack_tag 'application' %>

<%= react_component('public/SearchResults', {
  site: @site_page.site,
  image: @alternative_image,
  search: @search_string,
  page: @page_number,
  totalPages: @total_pages,
  results: @search_results
}) %>

<script type="text/javascript">
  window.route = 'SearchResults';
</script>



Fix a bug where the search page wouldn't have any cover image
Fix a bug where the search page wouldn't have any cover image
