Skip to content

Improve flatPage styling #1511

Improve flatPage styling

Improve flatPage styling #1511

Triggered via pull request April 5, 2024 12:32
Status Success
Total duration 1m 57s
Artifacts

action-intall-and-test.yml

on: pull_request
install-and-test
1m 47s
install-and-test
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
install-and-test: frontend/src/components/3D/index.tsx#L16
Unexpected any. Specify a different type
install-and-test: 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
install-and-test: frontend/src/components/Layout/useExternalScripts.tsx#L26
Unexpected any. Specify a different type
install-and-test: 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
install-and-test: frontend/src/components/Map/DetailsMap/DetailsMap.tsx#L64
Unexpected any. Specify a different type
install-and-test: frontend/src/components/Map/DetailsMap/DetailsMap.tsx#L65
Unexpected any. Specify a different type
install-and-test: frontend/src/components/Map/DetailsMap/DetailsMap.tsx#L66
Unexpected any. Specify a different type
install-and-test: frontend/src/components/Map/DetailsMap/DetailsMap.tsx#L159
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
install-and-test: 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
install-and-test: frontend/src/components/Map/SearchMap/MoveHandler.tsx#L13
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead