Minor updates

This commit is contained in:
2025-06-20 21:43:42 +02:00
parent e3326998c4
commit 4e1328147b
17 changed files with 344 additions and 369 deletions
+1 -3
View File
@@ -2,9 +2,7 @@
import { useEffect } from "react";
export default function useYears(
setYears: React.Dispatch<React.SetStateAction<string[]>>,
) {
export default function useYears(setYears: (years: string[]) => void) {
useEffect(() => {
const currentYear = new Date().getFullYear();
const availableYears: string[] = [];