Skip to content

Feature/patient info #54

Feature/patient info

Feature/patient info #54

GitHub Actions / ESLint succeeded Jan 12, 2024 in 0s

6 warnings

ESLint found 6 warnings

Annotations

Check warning on line 4 in src/views/clinicalGenomic/clinicalPatientView.js

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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)