Skip to content

Feature/us 20 add card view mode and translations #92

Feature/us 20 add card view mode and translations

Feature/us 20 add card view mode and translations #92

Triggered via pull request March 26, 2024 01:50
Status Failure
Total duration 56s
Artifacts

canopeum_frontend.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
Build
Type 'string' is not assignable to type 'number'.
Build
Type 'string' is not assignable to type 'number'.
Build
Element implicitly has an 'any' type because expression of type 'number' can't be used to index type '{ '1': string; '2': string; '3': string; '4': string; '5': string; '6': string; }'.
Build
Process completed with exit code 2.
Lint: canopeum_frontend/src/components/context/AuthenticationContext.tsx#L4
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
Lint: canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L14
Unexpected 'TODO' comment: 'TODO implement follow here when backend...'
Lint: canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L18
Unexpected 'TODO' comment: 'TODO Implement site update when backend...'
Lint: canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L30
Unexpected 'TODO' comment: 'TODO: replace img source when backend...'
Lint: canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L53
Unsafe member access .en on an `any` value
Lint: canopeum_frontend/src/pages/Login.tsx#L50
Unexpected 'TODO' comment: 'TODO (Vincent) set the user role'
Lint: canopeum_frontend/src/pages/Map.tsx#L72
React Hook useEffect has a missing dependency: 'getBrowserLocation'. Either include it or remove the dependency array
Lint: canopeum_frontend/src/pages/Map.tsx#L126
Unsafe assignment of an `any` value