From 8aad89631bd9b2b566911cedd2c8cdb2e215518b Mon Sep 17 00:00:00 2001 From: Eugene Date: Fri, 21 Jul 2023 16:27:17 +0300 Subject: [PATCH] Removed unused variable --- src/components/sheet.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/components/sheet.ts b/src/components/sheet.ts index 89f542f..89c5bc8 100644 --- a/src/components/sheet.ts +++ b/src/components/sheet.ts @@ -58,9 +58,6 @@ export class Sheet { const lastRowIdx = this.root.viewport.lastRow + 3 const firstColIdx = this.root.viewport.firstCol - - let rowsCount = 0 - for(let row = firstRowIdx; row <= lastRowIdx; row++) { for(let col = firstColIdx; col <= lastColIdx; col++ ) { @@ -69,7 +66,6 @@ export class Sheet { this.renderCell({column: col, row}) } - rowsCount++; } }