Update dependency tailwindcss to v4 - autoclosed #1791
Annotations
1 warning
Run pnpm lint:
src/app/dashboard/students/StudentForm.tsx#L94
React Hook useEffect has missing dependencies: 'defaultValues', 'reset', 'router', 'setStudent', 'state.fields?.dateOfBirth', 'state.fields?.firstName', 'state.fields?.medical', 'state.fields?.school', 'state.fields?.surname', 'state.studentId', and 'student'. Either include them or remove the dependency array. If 'setStudent' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Loading