From d680d8838e377c431a6fc6c3bfd2f5c8a1933bc8 Mon Sep 17 00:00:00 2001 From: sumukhswamy Date: Wed, 4 Sep 2024 13:09:35 -0700 Subject: [PATCH] updated the comments Signed-off-by: sumukhswamy --- public/components/notebooks/components/note_table.tsx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/public/components/notebooks/components/note_table.tsx b/public/components/notebooks/components/note_table.tsx index 4cce6e9f4..40498d16b 100644 --- a/public/components/notebooks/components/note_table.tsx +++ b/public/components/notebooks/components/note_table.tsx @@ -94,8 +94,6 @@ export function NoteTable({ const [searchQuery, setSearchQuery] = useState(''); const location = useLocation(); const history = useHistory(); - const [_dataSourceMDSId, setDataSourceMDSId] = useState(''); - const [_dataSourceMDSLabel, setDataSourceMDSLabel] = useState(''); useEffect(() => { setNavBreadCrumbs( @@ -179,8 +177,6 @@ export function NoteTable({ const handleSelectedDataSourceChange = (id?: string, label?: string) => { selectedDataSourceId = id; selectedDataSourceLabel = label; - setDataSourceMDSId(id); - setDataSourceMDSLabel(label); }; setModalLayout( getSampleNotebooksModal(