Remove useless outdoorPractice call #1522
Annotations
10 warnings
Check linter:
frontend/src/components/Header/Header.tsx#L45
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Check linter:
frontend/src/components/ImageWithLegend/index.tsx#L36
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Check linter:
frontend/src/components/Layout/useExternalScripts.tsx#L26
Unexpected any. Specify a different type
|
Check linter:
frontend/src/components/Layout/useRedirection.tsx#L26
React Hook useEffect has an unnecessary dependency: 'Router'. Either exclude it or remove the dependency array. Outer scope values like 'Router' aren't valid dependencies because mutating them doesn't re-render the component
|
Check linter:
frontend/src/components/Map/DetailsMap/DetailsMap.tsx#L160
React Hook useEffect has missing dependencies: 'props' and 'reportVisibility'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Check linter:
frontend/src/components/Map/Markers/TrekMarker.tsx#L44
Using `<img>` could result in slower LCP and higher bandwidth. Consider using `<Image />` from `next/image` to automatically optimize images. This may incur additional usage or cost from your provider. See: https://nextjs.org/docs/messages/no-img-element
|
Check linter:
frontend/src/components/Map/SearchMap/MoveHandler.tsx#L13
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Check linter:
frontend/src/components/Map/components/CustomControl/index.tsx#L71
React Hook useEffect has a missing dependency: 'forceUpdate'. Either include it or remove the dependency array
|
Check linter:
frontend/src/components/Map/components/HoverableMarker.tsx#L53
React Hook useMemo has a missing dependency: 'props'. Either include it or remove the dependency array
|
Check linter:
frontend/src/components/Map/components/HoverablePolygon.tsx#L24
React Hook useMemo has a missing dependency: 'color'. Either include it or remove the dependency array
|
Loading