added two panels to course page #1928
Annotations
21 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/Course/Components/Course.tsx#L29
'PageStatus' is already declared in the upper scope on line 29 column 6
|
build:
client/src/modules/Course/Components/Course.tsx#L29
'PageStatus' is defined but never used
|
build:
client/src/modules/Course/Components/Course.tsx#L30
'Loading' is already declared in the upper scope on line 12 column 8
|
build:
client/src/modules/Course/Components/Course.tsx#L30
'Loading' is defined but never used
|
build:
client/src/modules/Course/Components/Course.tsx#L31
'Success' is defined but never used
|
build:
client/src/modules/Course/Components/Course.tsx#L32
'Error' is defined but never used
|
build:
client/src/modules/Course/Components/ReviewModal.tsx#L83
React Hook useEffect has missing dependencies: 'getNoReviews' and 'isLoggedIn'. Either include them or remove the dependency array
|
build:
client/src/modules/SearchBar/Components/SearchBar.tsx#L36
'NodeJS' is not defined
|
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/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/Course/Components/Course.tsx#L29
'PageStatus' is already declared in the upper scope on line 29 column 6
|
build:
client/src/modules/Course/Components/Course.tsx#L29
'PageStatus' is defined but never used
|
build:
client/src/modules/Course/Components/Course.tsx#L30
'Loading' is already declared in the upper scope on line 12 column 8
|
build:
client/src/modules/Course/Components/Course.tsx#L30
'Loading' is defined but never used
|
build:
client/src/modules/Course/Components/Course.tsx#L31
'Success' is defined but never used
|
build:
client/src/modules/Course/Components/Course.tsx#L32
'Error' 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/Course/Components/ReviewModal.tsx#L83
React Hook useEffect has missing dependencies: 'getNoReviews' and 'isLoggedIn'. Either include them or remove the dependency array
|
build:
client/src/modules/Results/Components/PreviewCard.jsx#L168
'transformGauges' is missing in props validation
|
build:
client/src/modules/Results/Components/PreviewCard.jsx#L192
'transformGauges' is missing in props validation
|