fix: add tests, clean up #39
Annotations
11 warnings
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Run yarn d2-style check:
src/components/BulkMemberManager/hooks/useResults/useResults.js#L94
React Hook useEffect has a missing dependency: 'navigateToPage'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/BulkMemberManager/hooks/useResults/useResults.js#L102
React Hook useEffect has missing dependencies: 'transformQueryResponse' and 'updatePrevPageRef'. Either include them or remove the dependency array. If 'transformQueryResponse' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run yarn d2-style check:
src/components/BulkMemberManager/hooks/useResults/useResults.js#L106
React Hook useEffect has a missing dependency: 'navigateToPage'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/Form.js#L192
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/GroupForm/BulkUserManager/BulkUserManagerField.js#L12
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/GroupForm/BulkUserManager/useQueries.js#L65
React Hook useMemo has a missing dependency: 'params'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/RoleForm/MetadataAuthoritiesTableField.js#L79
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/RoleForm/MetadataAuthoritiesTableField.js#L111
React Hook useCallback has a missing dependency: 'input'. Either include it or remove the dependency array
|
Run yarn d2-style check:
src/components/SearchableOrgUnitTree/AsyncAutoComplete/useOrgUnitSearchResults.js#L61
React Hook useEffect has missing dependencies: 'currentUser', 'orgUnitType', and 'waiting'. Either include them or remove the dependency array. If 'setOrganisationUnits' needs the current value of 'orgUnitType', you can also switch to useReducer instead of useState and read 'orgUnitType' in the reducer
|
Run yarn d2-style check:
src/hooks/useValidator.js#L12
React Hook useCallback has a missing dependency: 'memoedValidator'. Either include it or remove the dependency array
|
Loading