Skip to content

bug/WG-434: Refactor Create Map modal #951

bug/WG-434: Refactor Create Map modal

bug/WG-434: Refactor Create Map modal #951

Triggered via pull request February 17, 2025 23:29
Status Failure
Total duration 2m 28s
Artifacts

main.yml

on: pull_request
Angular-Unit-Tests
57s
Angular-Unit-Tests
Angular-Linting
49s
Angular-Linting
React-Unit-Tests
2m 19s
React-Unit-Tests
React-Linting
42s
React-Linting
React-Build
41s
React-Build
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 4 warnings
React-Build
Type '{ isOpen: boolean; toggle: Mock<any, any, any>; }' is not assignable to type 'IntrinsicAttributes & CreateMapModalProps'.
React-Build
Process completed with exit code 2.
React-Unit-Tests
Process completed with exit code 1.
React-Linting: react/src/components/CreateMapModal/CreateMapModal.tsx#L81
React Hook useEffect has missing dependencies: 'getValues' and 'setValue'. Either include them or remove the dependency array
React-Linting: react/src/components/Files/FileListing.tsx#L147
React Hook useEffect has missing dependencies: 'communityDataSystem?.id', 'myDataSystem?.id', 'onFolderSelect', 'onSystemSelect', 'publishedDataSystem?.id', 'systems', and 'user?.username'. Either include them or remove the dependency array. If 'onSystemSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback
React-Linting: react/src/components/Systems/SystemSelect.tsx#L40
React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array
React-Linting: react/src/pages/Login/Login.tsx#L29
React Hook useEffect has missing dependencies: 'configuration.geoapiUrl', 'isAuthenticated', 'location.search', and 'navigate'. Either include them or remove the dependency array