fix: enable ou tree and levels/groups with user orgunits (DHIS2-18066… #5436
Annotations
9 warnings
unit:
src/components/DynamicDimension/ItemSelector.js#L119
React Hook useEffect has a missing dependency: 'fetchItems'. Either include it or remove the dependency array
|
unit:
src/components/DynamicDimension/ItemSelector.js#L131
React Hook useCallback has a missing dependency: 'onSelect'. Either include it or remove the dependency array. If 'onSelect' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
unit:
src/components/DynamicDimension/ItemSelector.js#L137
React Hook useCallback has a missing dependency: 'fetchItems'. Either include it or remove the dependency array
|
unit:
src/components/FileMenu/DeleteDialog.js#L26
React Hook useMemo has a missing dependency: 'type'. Either include it or remove the dependency array
|
unit:
src/components/TranslationDialog/TranslationModal/TranslationForm.js#L149
React Hook useEffect has a missing dependency: 'fetchFieldsTranslations'. Either include it or remove the dependency array
|
unit:
src/components/UserMention/useUserSearchResults.js#L24
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
unit:
src/modules/pivotTable/useScrollPosition.js#L7
React Hook useCallback does nothing when called with only one argument. Did you forget to pass an array of dependencies?
|
unit:
src/modules/utils.js#L25
React Hook useEffect was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
|
unit:
src/modules/utils.js#L25
React Hook useEffect has a missing dependency: 'fn'. Either include it or remove the dependency array. If 'fn' changes too often, find the parent component that defines it and wrap that definition in useCallback
|