Skip to content

Fix crash with no planners saved to account #354

Fix crash with no planners saved to account

Fix crash with no planners saved to account #354

Triggered via pull request November 10, 2024 23:31
Status Success
Total duration 47s
Artifacts

lint.yml

on: pull_request
Lint and check formatting
40s
Lint and check formatting
Fit to window
Zoom out
Zoom in

Annotations

7 warnings
Lint and check formatting: site/src/component/GradeDist/GradeDist.tsx#L66
React Hook useEffect has a missing dependency: 'fetchGradeDistData'. Either include it or remove the dependency array
Lint and check formatting: site/src/component/GradeDist/GradeDist.tsx#L77
React Hook useEffect has missing dependencies: 'createCourseEntries', 'createProfEntries', 'props.course', and 'props.professor'. Either include them or remove the dependency array
Lint and check formatting: site/src/component/GradeDist/GradeDist.tsx#L84
React Hook useEffect has missing dependencies: 'createQuarterEntries' and 'gradeDistData.length'. Either include them or remove the dependency array
Lint and check formatting: site/src/component/SideInfo/SideInfo.tsx#L138
React Hook useEffect has missing dependencies: 'allToken' and 'props.searchType'. Either include them or remove the dependency array
Lint and check formatting: site/src/pages/CoursePage/index.tsx#L38
React Hook useEffect has missing dependencies: 'courseGQLData.courseNumber' and 'courseGQLData.department'. Either include them or remove the dependency array
Lint and check formatting: site/src/pages/RoadmapPage/RoadmapMultiplan.tsx#L94
React Hook useEffect has a missing dependency: 'allPlans.plans'. Either include it or remove the dependency array
Lint and check formatting: site/src/pages/RoadmapPage/index.tsx#L96
React Hook useCallback has missing dependencies: 'addCourseToBag' and 'removeCourseFromBag'. Either include them or remove the dependency array