frontend/src/routes/todos.tsx
Function NewTask
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
const NewTask: FunctionalComponent = () => {
const { register, handleSubmit, reset, formState: { errors } } = useForm<TaskInput>({
resolver: zodResolver(TaskSchema),
})