Skip to content

Fix crash with no planners saved to account #363

Fix crash with no planners saved to account

Fix crash with no planners saved to account #363

Triggered via pull request November 13, 2024 22:38
Status Success
Total duration 54s
Artifacts

lint.yml

on: pull_request
Lint and check formatting
47s
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#L137
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