Skip to content

Proper use of theme colors + Improved navbar #41

Proper use of theme colors + Improved navbar

Proper use of theme colors + Improved navbar #41

Triggered via pull request November 9, 2024 03:28
Status Failure
Total duration 1m 14s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Build
'variables' is declared but its value is never read.
Build
'useCallback' is declared but its value is never read.
Build
'useNavigate' is declared but its value is never read.
Build
Object literal may only specify known properties, and 'logout' does not exist in type '{ 'edit-profile': string; 'manage-admins': string; 'terms-and-policies': string; }'.
Build
Process completed with exit code 2.
Lint: canopeum_frontend/src/assets/styles/muiCustomTheme.ts#L3
'variables' is defined but never used. Allowed unused vars must match /^_/u
Lint: canopeum_frontend/src/assets/styles/muiCustomTheme.ts#L6
Commented-out code is forbidden
Lint: canopeum_frontend/src/components/Navbar.tsx#L2
'useCallback' is defined but never used. Allowed unused vars must match /^_/u
Lint: canopeum_frontend/src/components/Navbar.tsx#L4
'useNavigate' is defined but never used. Allowed unused vars must match /^_/u
Lint
Process completed with exit code 1.
Lint: canopeum_frontend/src/assets/styles/muiCustomTheme.ts#L3
'variables' is defined but never used
Lint: canopeum_frontend/src/components/MainLayout.tsx#L22
Unexpected 'TODO' comment: 'TODO: Can we do better than hardcode a...'
Lint: canopeum_frontend/src/components/Navbar.tsx#L2
'useCallback' is defined but never used
Lint: canopeum_frontend/src/components/Navbar.tsx#L4
'useNavigate' is defined but never used
Lint: canopeum_frontend/src/components/analytics/BatchTable.tsx#L30
Unexpected 'TODO' comment: 'TODO: Use endpoint to get specific batch...'
Lint: canopeum_frontend/src/components/analytics/SiteSuccessRatesChart.tsx#L24
Division is partial. You should wrap it in a wrapper that returns undefined when the denominator is zero
Lint: canopeum_frontend/src/components/analytics/SiteSuccessRatesChart.tsx#L63
This type assertion is not type-safe
Lint: canopeum_frontend/src/components/icons/CustomIcon.tsx#L23
Unexpected 'TODO' comment: 'TODO(NicolasDontigny): Find the best way...'
Lint: canopeum_frontend/src/components/inputs/MultipleSelectChip.tsx#L68
Unexpected 'TODO' comment: 'TODO(NicolasDontigny): Find a more...'