refactor: use platform/runtime plugin components #1109
dhis2-verify-app.yml
on: pull_request
Annotations
2 errors and 15 warnings
test
Process completed with exit code 1.
|
build
Process completed with exit code 1.
|
setup-matrix
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
setup-matrix
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/
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint:
src/components/App.js#L46
React Hook useEffect has a missing dependency: 'props'. Either include it or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L56
React Hook useEffect has missing dependencies: 'onExpandedChanged', 'updateUserRows', and 'userRows'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L60
React Hook useEffect has a missing dependency: 'rootElement.style'. Either include it or remove the dependency array
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L65
React Hook useEffect has a missing dependency: 'rootElement.style'. Either include it or remove the dependency array
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L72
React Hook useEffect has a missing dependency: 'userRows'. Either include it or remove the dependency array. Mutable values like 'userRowsChanged.current' aren't valid dependencies because mutating them doesn't re-render the component
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L87
React Hook useCallback has missing dependencies: 'memoizedCancelExpanded', 'onExpandedChanged', and 'scrollToTop'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/components/DashboardsBar/DashboardsBar.js#L92
React Hook useCallback has missing dependencies: 'onExpandedChanged' and 'scrollToTop'. Either include them or remove the dependency array. If 'onExpandedChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
lint:
src/components/SystemSettingsProvider.js#L39
React Hook useEffect has a missing dependency: 'engine'. Either include it or remove the dependency array
|
lint:
src/pages/edit/EditDashboard.js#L56
React Hook useEffect has missing dependencies: 'dataEngine', 'props', and 'width'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
lint:
src/pages/edit/LayoutModal.js#L33
React Hook useEffect has a missing dependency: 'columns'. Either include it or remove the dependency array. If 'setCols' needs the current value of 'columns', you can also switch to useReducer instead of useState and read 'columns' in the reducer
|