Skip to content

Commit 7d5658f

Browse files
committed
fix: remove unused imports and variables
1 parent 8f6e452 commit 7d5658f

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

src/components/GridSizeForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useState } from 'react';
22
import type { FC } from 'react';
33
import styles from './GridSizeForm.module.css';
4-
import { MIN_GRID_SIZE, MAX_GRID_SIZE, MIN_MAX_NUMBER, MAX_MAX_NUMBER } from '../constants';
4+
import { MIN_GRID_SIZE, MAX_GRID_SIZE } from '../constants';
55

66
interface GridSizeFormProps {
77
onSubmit: (rows: number, cols: number, maxNumber: number) => void;

src/hooks/useBingoGame.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ export const useBingoGame = (initialRows: number, initialCols: number, initialMa
8282

8383
const generateGrid = (rows: number, cols: number, maxNumber: number) => {
8484
console.log(`Generating grid with ${rows} rows, ${cols} cols, max number ${maxNumber}`);
85-
const totalCells = rows * cols;
8685
// Create array with sequential numbers
8786
// const numbers = Array.from({ length: totalCells }, (_, i) => i + 1);
8887

0 commit comments

Comments
 (0)