task/WG-418 - File Listing Component Enhancement and Fixes #988
Annotations
5 warnings
Linting:
react/src/components/CreateMapModal/CreateMapModal.tsx#L91
React Hook useEffect has a missing dependency: 'trigger'. Either include it or remove the dependency array
|
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'
|
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
|
Linting:
react/src/components/Systems/SystemSelect.tsx#L40
React Hook useEffect has a missing dependency: 'reset'. Either include it or remove the dependency array
|
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
|
Loading