Feature/us 19 20 add map page layout #64
Annotations
5 errors and 7 warnings
Run npm run 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
|
Run npm run 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
|
Run npm run lint:
canopeum_frontend/src/pages/MapSite.tsx#L21
Unnecessary conditional, expected left-hand side of `??` operator to be possibly null or undefined
|
Run npm run lint:
canopeum_frontend/src/pages/MapSite.tsx#L21
Unexpected constant nullishness on the left-hand side of a `??` expression
|
Run npm run lint
Process completed with exit code 1.
|
|
Run npm run 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
|
|
Run npm run lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L11
Unexpected 'TODO' comment: 'TODO: replace img source when backend...'
|
Run npm run lint:
canopeum_frontend/src/components/site/SiteSummaryCard.tsx#L25
Unsafe member access .en on an `any` value
|
Run npm run lint:
canopeum_frontend/src/pages/MapSite.tsx#L13
Unexpected console statement
|
Run npm run lint:
canopeum_frontend/src/pages/MapSite.tsx#L22
React Hook useEffect has a missing dependency: 'siteId'. Either include it or remove the dependency array
|
Loading