Skip to content

Update Patch Dependencies #1800

Update Patch Dependencies

Update Patch Dependencies #1800

Triggered via pull request January 31, 2025 12:59
Status Success
Total duration 1m 5s
Artifacts

test.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 warning
test: 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