Feature/patient info #54
6 warnings
ESLint found 6 warnings
Annotations
Check warning on line 4 in src/views/clinicalGenomic/clinicalPatientView.js
github-actions / ESLint
src/views/clinicalGenomic/clinicalPatientView.js#L4
'useTheme' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
Check warning on line 9 in src/views/clinicalGenomic/clinicalPatientView.js
github-actions / ESLint
src/views/clinicalGenomic/clinicalPatientView.js#L9
'useSidebarWriterContext' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
Check warning on line 5 in src/views/clinicalGenomic/useClinicalPatientData.js
github-actions / ESLint
src/views/clinicalGenomic/useClinicalPatientData.js#L5
'formatKey' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
Check warning on line 27 in src/views/clinicalGenomic/useClinicalPatientData.js
github-actions / ESLint
src/views/clinicalGenomic/useClinicalPatientData.js#L27
'key' is defined but never used. Allowed unused args must match /^_/u (no-unused-vars)
Check warning on line 5 in src/views/clinicalGenomic/widgets/patientSidebar.js
github-actions / ESLint
src/views/clinicalGenomic/widgets/patientSidebar.js#L5
'useTheme' is defined but never used. Allowed unused vars must match /^_/u (no-unused-vars)
Check warning on line 159 in src/views/clinicalGenomic/widgets/patientSidebar.js
github-actions / ESLint
src/views/clinicalGenomic/widgets/patientSidebar.js#L159
The 'handleHeaderClick' function makes the dependencies of useEffect Hook (at line 185) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'handleHeaderClick' in its own useCallback() Hook (react-hooks/exhaustive-deps)