diff --git a/package-lock.json b/package-lock.json index 3cf5a74..18cd3b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "buzzword-bingo", - "version": "0.2.1", + "version": "0.3.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "buzzword-bingo", - "version": "0.2.1", + "version": "0.3.0", "dependencies": { "next": "14.0.1", "react": "^18", diff --git a/package.json b/package.json index 7a419d3..db92b76 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "buzzword-bingo", - "version": "0.2.1", + "version": "0.3.0", "private": true, "scripts": { "dev": "next dev", diff --git a/src/app/components/bingo.tsx b/src/app/components/bingo.tsx index bdd7a27..a952d80 100644 --- a/src/app/components/bingo.tsx +++ b/src/app/components/bingo.tsx @@ -13,7 +13,7 @@ export default function Bingo({size, items}: Props){ rows[i] = activeItems.slice(i * size, (i + 1) * size); } return( - +
{rows.map((item, index) => )} diff --git a/src/app/components/bingocontroller.tsx b/src/app/components/bingocontroller.tsx index 1e5abfd..d3857a4 100644 --- a/src/app/components/bingocontroller.tsx +++ b/src/app/components/bingocontroller.tsx @@ -23,13 +23,13 @@ export default function BingoController(){
- setSize(+s)}/> + setSize(+s)}/>
3x3 4x4 5x5
- setItems(FisherYatesShuffle(buzzwords))}>Regenerate + setItems(FisherYatesShuffle(buzzwords))}>Regenerate
{sizeError &&
Warning: Mismatch between item count and size
} diff --git a/src/app/components/bingoitem.tsx b/src/app/components/bingoitem.tsx index 7e74f74..e72c404 100644 --- a/src/app/components/bingoitem.tsx +++ b/src/app/components/bingoitem.tsx @@ -9,6 +9,6 @@ export default function BingoItem({text}: Props){ const [clicked, setClicked] = React.useState(false); return( - + ); }
setClicked(!clicked)}>{text} setClicked(!clicked)}>{text}