diff --git a/app/views/tpi/ascor/index_emissions_assessment.js.erb b/app/views/tpi/ascor/index_emissions_assessment.js.erb index 6e046e6d3..cbeeaabb0 100644 --- a/app/views/tpi/ascor/index_emissions_assessment.js.erb +++ b/app/views/tpi/ascor/index_emissions_assessment.js.erb @@ -3,5 +3,5 @@ const newUrl = new URL(window.location.href); newUrl.searchParams.set('emissions_assessment_date', "<%= @emissions_assessment_date %>"); window.history.replaceState({}, '', newUrl.href); - ReactRailsUJS.mountComponents('#emissions-charts'); + ReactRailsUJS.mountComponents('#emissions-chart'); })();