Proper use of theme colors + Improved navbar #40
canopeum_frontend_pr_validation.yml
on: pull_request
Lint
1m 3s
Build
45s
Annotations
7 errors and 10 warnings
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/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/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...'
|
Lint:
canopeum_frontend/src/components/social/site-modal/SiteAnnouncementModal.tsx#L34
This type assertion is not type-safe
|
Lint:
canopeum_frontend/src/components/social/site-modal/SiteAnnouncementModal.tsx#L47
This type assertion is not type-safe
|