Skip to content

Commit b9787a4

Browse files
committed
chore(5957): update variable name
1 parent 0387bd5 commit b9787a4

File tree

1 file changed

+2
-2
lines changed
  • app/app/private-cloud/products/(product)/[licencePlate]/costs

1 file changed

+2
-2
lines changed

app/app/private-cloud/products/(product)/[licencePlate]/costs/Yearly.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ export default function Yearly({ licencePlate, session }: { licencePlate: string
2828
return null;
2929
}
3030

31-
const handleChange = (value: string | null) => {
32-
setSelectedYear(value ? new Date(parseInt(value, 10), 0, 1) : new Date());
31+
const handleChange = (year: string | null) => {
32+
setSelectedYear(year ? new Date(parseInt(year, 10), 0, 1) : new Date());
3333
};
3434

3535
const monthlyCostData = data.months.map((month, idx) => {

0 commit comments

Comments
 (0)