task/WG-418 - File Listing Component Enhancement and Fixes #1003
main.yml
on: pull_request
Angular-Unit-Tests
55s
Angular-Linting
51s
React-Unit-Tests
1m 31s
React-Linting
35s
React-Build
47s
Annotations
1 error and 5 warnings
React-Unit-Tests
Process completed with exit code 1.
|
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
|
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/components/Files/FileListing.tsx#L214
React Hook useEffect has missing dependencies: 'myDataSystem?.id', 'onFolderSelect', 'onSystemSelect', 'selectedSystem.id', 'setRootFolderChain', '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/Files/FileListing.tsx#L183
React Hook useEffect has missing dependencies: 'listingState.offset' and 'setRootFolderChain'. Either include them or remove the dependency array. You can also replace multiple useState variables with useReducer if 'setChonkyFiles' needs the current value of 'listingState.offset'
|
React-Linting:
react/src/components/CreateMapModal/CreateMapModal.tsx#L92
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array
|