From 734896a17bbe1dfae4ce22b2def650cd813c9da0 Mon Sep 17 00:00:00 2001 From: Naumov Alexey Date: Wed, 27 Jan 2021 16:28:24 +0300 Subject: [PATCH] feat(plugin-data-speadsheet-new): CB-652 CB-654 remove unnecessary set call --- .../src/DataGrid/DataGridSelection/useGridSelectionContext.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridSelection/useGridSelectionContext.tsx b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridSelection/useGridSelectionContext.tsx index e69cdecc02..8995979db6 100644 --- a/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridSelection/useGridSelectionContext.tsx +++ b/webapp/packages/plugin-data-spreadsheet-new/src/DataGrid/DataGridSelection/useGridSelectionContext.tsx @@ -120,7 +120,6 @@ export function useGridSelectionContext(modelResultData: IDatabaseDataResult | n } rowSelection.push(idx); - selectedCells.set(rowIdx, rowSelection); }, [selectedCells]); const select = useCallback((key: string, rowIdx: number, multiple: boolean, range: boolean) => {