Skip to content

Commit

Permalink
fix: replaces reportYear with modelYear so page can load properly (un…
Browse files Browse the repository at this point in the history
…caught reference error) (#2378)
  • Loading branch information
emi-hi authored Dec 11, 2024
1 parent 23a0404 commit 4d7cb3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/compliance/components/ConsumerLDVSales.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const ConsumerLDVSales = (props) => {
</div>
<div className="row mb-3">
<div className="col-5 text-blue">
{modelYear} {reportYear < 2024 ? "Model Year LDV Sales" : "Vehicles Supplied"}:
{modelYear} {modelYear < 2024 ? "Model Year LDV Sales" : "Vehicles Supplied"}:
</div>
<div className="col-3 text-right">{currentSales}</div>
<div className="col-3 text-right">
Expand Down

0 comments on commit 4d7cb3c

Please sign in to comment.