From a3b238924316e989b955242895407f790bd04e40 Mon Sep 17 00:00:00 2001 From: Courtney Gosselin Date: Wed, 17 Jan 2024 12:16:35 -0800 Subject: [PATCH] ESlint fixes Signed-off-by: Courtney Gosselin --- src/views/clinicalGenomic/widgets/patientSidebar.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/clinicalGenomic/widgets/patientSidebar.js b/src/views/clinicalGenomic/widgets/patientSidebar.js index 734bb86f..c8e2e051 100644 --- a/src/views/clinicalGenomic/widgets/patientSidebar.js +++ b/src/views/clinicalGenomic/widgets/patientSidebar.js @@ -1,6 +1,6 @@ import { useState, useEffect } from 'react'; import PropTypes from 'prop-types'; -import { styled, useTheme } from '@mui/system'; +import { styled } from '@mui/system'; import { Button, Typography } from '@mui/material'; import FolderOpenIcon from '@mui/icons-material/FolderOpen'; import FolderIcon from '@mui/icons-material/Folder'; @@ -154,7 +154,7 @@ function PatientSidebar({ sidebar = {}, setColumns, setRows, setTitle }) { handleHeaderClick(firstHeaderKey, sidebar, null); } } - }, [initialHeader, sidebar, handleTableSet]); + }, [initialHeader, sidebar]); function createSubSidebarHeaders(array = [], depth = 0, hasChildren = false) { const sidebarTitles = [];