Skip to content

Commit

Permalink
delete useless code
Browse files Browse the repository at this point in the history
Signed-off-by: yubonluo <[email protected]>
  • Loading branch information
yubonluo committed Aug 30, 2024
1 parent 5a1e5a5 commit c160ba2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export const DataSourceConnectionTable = ({
// Reset selected items when connectionType changes
setSelectedItems([]);
setItemIdToExpandedRowMap({});
}, [connectionType, setSelectedItems]);
}, [connectionType]);

const openSearchConnections = useMemo(() => {
return dataSourceConnections.filter((dsc) =>
Expand Down

0 comments on commit c160ba2

Please sign in to comment.