feat: view mode dashboards-bar design changes [DHIS2-18441] #339
Annotations
1 error and 11 warnings
Lint
Process completed with exit code 2.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint:
src/components/App.js#L44
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/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
|
Lint:
src/pages/edit/NewDashboard.js#L35
React Hook useEffect has missing dependencies: 'dispatch' and 'width'. Either include them or remove the dependency array
|
Lint:
src/pages/print/PrintDashboard.js#L105
React Hook useEffect has missing dependencies: 'addDashboardItem', 'dataEngine', 'removeDashboardItem', 'setPrintDashboard', and 'updateDashboardItem'. Either include them or remove the dependency array. If 'setPrintDashboard' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint:
src/pages/print/PrintLayoutDashboard.js#L92
React Hook useEffect has missing dependencies: 'customizePrintLayoutDashboard', 'dataEngine', 'id', and 'setPrintDashboard'. Either include them or remove the dependency array. If 'setPrintDashboard' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint:
src/pages/start/LandingPage.js#L9
React Hook useEffect has a missing dependency: 'onMount'. Either include it or remove the dependency array. If 'onMount' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint:
src/pages/start/StartScreen.js#L27
React Hook useEffect has a missing dependency: 'dataEngine'. Either include it or remove the dependency array
|
Lint:
src/pages/view/ItemGrid.js#L53
React Hook useEffect has a missing dependency: 'getItemsWithAdjustedHeight'. Either include it or remove the dependency array
|
Loading