Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
KorovinQuantori committed Mar 15, 2024
1 parent 32c51ed commit 36ec753
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/table/src/merge/getTableGridByRange.ts
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,11 @@ export const getTableMergeGridByRange = <T extends FormatType, V extends Value>(
endColIndex = Math.max(endColIndex, cellColWithSpan);
rowIndex = startRowIndex;
colIndex = startColIndex;
const relativeRowIndex = endRowIndex - startRowIndex;
const relativeColIndex = endColIndex - startColIndex;
const newRelativeRowIndex = endRowIndex - startRowIndex;
const newRelativeColIndex = endColIndex - startColIndex;
table = getEmptyTableNode(editor, {
rowCount: relativeRowIndex + 1,
colCount: relativeColIndex + 1,
rowCount: newRelativeRowIndex + 1,
colCount: newRelativeColIndex + 1,
newCellChildren: [],
});
continue;
Expand Down

0 comments on commit 36ec753

Please sign in to comment.