Feature/us 19 20 add map page layout #63
Annotations
7 errors and 7 warnings
Build
This member must have an 'override' modifier because it overrides a member in the base class 'Error'.
|
Build
Process completed with exit code 2.
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L20
Consider removing braces around the arrow function's body. If it really needs to return `void` you can mark its return type explicitely with `(param): void => { statement }` to disable this warning
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L21
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L21
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L21
Unexpected constant nullishness on the left-hand side of a `??` expression
|
Lint
Process completed with exit code 1.
|
Lint:
canopeum_frontend/src/components/context/AuthenticationContext.tsx#L4
Don't declare enums
|
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/context/AuthenticationContext.tsx#L4
`enum` is forbidden
|
Lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L11
Unexpected 'TODO' comment: 'TODO: replace img source when backend...'
|
Lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L25
Unsafe member access .en on an `any` value
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L13
Unexpected console statement
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L22
React Hook useEffect has a missing dependency: 'siteId'. Either include it or remove the dependency array
|