Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
icecream17 authored Mar 7, 2024
1 parent f90e06b commit 23622be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Elems/MainElems/Sudoku.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ export default class Sudoku extends React.Component<SudokuProps> {
const shiftHeld = keysPressed.has('Shift')
const ctrlHeld = keysPressed.has('Control')

// Copy/save previous cells selected, since it changes during the loop
// eslint-disable-next-line unicorn/no-useless-spread -- Copy/save previous cells selected, since it changes during the loop
for (let {row, column} of [...this.cellsSelected]) {
let cell = this.props.sudoku.cells[row][column]
const wasTarget = cell === targetCell
Expand Down

0 comments on commit 23622be

Please sign in to comment.