completing map page #75
Annotations
7 errors and 10 warnings
Build
Property 'address' does not exist on type 'string'.
|
Build
Property 'latitude' does not exist on type 'string'.
|
Build
Property 'longitude' does not exist on type 'string'.
|
Build
Property 'latitude' does not exist on type 'string'.
|
Build
Property 'longitude' does not exist on type 'string'.
|
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
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/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#L121
Unsafe assignment of an `any` value
|
Lint:
canopeum_frontend/src/pages/Map.tsx#L122
Unsafe assignment of an `any` value
|
Lint:
canopeum_frontend/src/pages/Map.tsx#L126
Unsafe assignment of an `any` value
|
Lint:
canopeum_frontend/src/pages/MapSite.tsx#L13
Unexpected console statement
|