Fix typecheck.
All checks were successful
Check / Backend (pull_request) Successful in 4m56s
Check / Frontend (pull_request) Successful in 1m56s

This commit is contained in:
Drew 2025-09-27 01:46:13 -07:00
parent b3dd711ea1
commit b0750c82d9
3 changed files with 28 additions and 7 deletions

View file

@ -10,6 +10,7 @@ import {
Paper,
Typography,
Alert,
type SelectChangeEvent,
} from '@mui/material'
import { useNavigate } from 'react-router'
import type { CreateTaskRequest, Task } from '~/types/task'
@ -134,12 +135,10 @@ export function TaskForm({
}
}
const handleStatusChange = (
e: React.ChangeEvent<{ name?: string; value: unknown }>
) => {
const handleStatusChange = (event: SelectChangeEvent<TaskStatus>) => {
setFormData(prev => ({
...prev,
status: e.target.value as TaskStatus,
status: event.target.value as TaskStatus,
}))
}