Skip to content

create button to call AI functions from admin page and clean up some … #1876

create button to call AI functions from admin page and clean up some …

create button to call AI functions from admin page and clean up some … #1876

Triggered via push October 26, 2024 21:36
Status Success
Total duration 1m 21s
Artifacts

ci-workflow.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: client/src/modules/Admin/Components/Admin.tsx#L30
'setAddSemester' is assigned a value but never used
build: client/src/modules/Admin/Components/AdminReview.tsx#L1
'useEffect' is defined but never used
build: client/src/modules/Admin/Components/AdminUser.tsx#L1
'useEffect' is defined but never used
build: client/src/modules/Admin/Components/AdminUser.tsx#L1
'useState' is defined but never used
build: client/src/modules/Admin/Components/AdminUser.tsx#L2
'axios' is defined but never used
build: client/src/modules/Admin/Components/Stats.tsx#L4
'Review' is defined but never used
build: client/src/modules/Course/Components/RatingInput.tsx#L53
React Hook useEffect has a missing dependency: 'getColor'. Either include it or remove the dependency array
build: client/src/modules/SearchBar/Components/SearchBar.tsx#L42
Assignments to the 'timeoutId' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
build: client/src/modules/SearchBar/Components/SearchBar.tsx#L156
'results' is assigned a value but never used