Fix minor formatting and naming issues

This commit is contained in:
Gimle Larpes 2025-05-31 17:00:22 +02:00
parent c260af5023
commit 2a368d46fc
2 changed files with 3 additions and 2 deletions

View file

@ -358,8 +358,8 @@ function CustomDateFormat({ dateFormatString, setDateFormatString }: CustomDateF
}, [dateFormatString]);
const handleChange: ChangeEventHandler<HTMLInputElement> = (evt) => {
const name = evt.currentTarget.value;
setDateFormatCustom(name);
const format = evt.currentTarget.value;
setDateFormatCustom(format);
};
const handleReset = () => {