mirror of
https://github.com/skidoodle/erettsegi-browser.git
synced 2026-04-28 05:27:35 +02:00
Minor updates
This commit is contained in:
@@ -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[] = [];
|
||||
|
||||
Reference in New Issue
Block a user