fix: add types for alert, box, button #3513
Annotations
8 errors and 15 warnings
scripts/generate-types.js#L4
'parser' is assigned a value but never used
|
scripts/generate-types.js#L5
'visit' is assigned a value but never used
|
scripts/generate-types.js#L7
'reactDocs' is assigned a value but never used
|
scripts/generate-types.js#L10
'RE_OBJECTOF' is assigned a value but never used
|
scripts/generate-types.js#L21
'collections' is assigned a value but never used
|
scripts/generate-types.js#L21
'icons' is assigned a value but never used
|
scripts/generate-types.js#L21
'constants' is assigned a value but never used
|
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/download-artifact@v2, c-hive/gha-yarn-cache@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
components/alert/src/alert-bar/alert-bar.js#L101
React Hook useEffect has missing dependencies: 'inDOM', 'runHideAnimation', and 'runShowAnimation'. Either include them or remove the dependency array
|
components/button/src/button/button.js#L37
React Hook useEffect has an unnecessary dependency: 'ref.current'. Either exclude it or remove the dependency array. Mutable values like 'ref.current' aren't valid dependencies because mutating them doesn't re-render the component
|
components/intersection-detector/src/intersection-detector.js#L62
React Hook useEffect has missing dependencies: 'onChange', 'rootRef', and 'threshold'. Either include them or remove the dependency array. Mutable values like 'rootRef.current' aren't valid dependencies because mutating them doesn't re-render the component
|
components/organisation-unit-tree/src/organisation-unit-node/use-open-state.js#L29
React Hook useEffect has missing dependencies: 'onExpand' and 'path'. Either include them or remove the dependency array. If 'onExpand' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
components/organisation-unit-tree/src/organisation-unit-node/use-org-children.js#L47
React Hook useMemo has a missing dependency: 'node.children'. Either include it or remove the dependency array
|
components/organisation-unit-tree/src/organisation-unit-node/use-org-children.js#L55
React Hook useEffect has a missing dependency: 'node'. Either include it or remove the dependency array
|
components/organisation-unit-tree/src/organisation-unit-tree/use-force-reload.js#L19
React Hook useEffect has a missing dependency: 'reloadId'. Either include it or remove the dependency array
|
components/sharing-dialog/src/autocomplete/sharing-autocomplete.js#L37
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
components/sharing-dialog/src/autocomplete/sharing-autocomplete.js#L50
React Hook useEffect has missing dependencies: 'debouncedRefetch', 'onSelection', and 'selected'. Either include them or remove the dependency array. If 'onSelection' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
components/sharing-dialog/src/sharing-dialog.js#L88
React Hook useEffect has a missing dependency: 'refetch'. Either include it or remove the dependency array
|
The logs for this run have expired and are no longer available.
Loading