diff --git a/package-lock.json b/package-lock.json index 103df04..d5df887 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "buzzword-bingo", - "version": "0.1.0", + "version": "0.2.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "buzzword-bingo", - "version": "0.1.0", + "version": "0.2.0", "dependencies": { "next": "14.0.1", "react": "^18", diff --git a/package.json b/package.json index a3e1a41..ad52afc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "buzzword-bingo", - "version": "0.1.0", + "version": "0.2.0", "private": true, "scripts": { "dev": "next dev", diff --git a/src/app/components/bingocontroller.tsx b/src/app/components/bingocontroller.tsx index 4a22ca5..f4682e3 100644 --- a/src/app/components/bingocontroller.tsx +++ b/src/app/components/bingocontroller.tsx @@ -20,16 +20,16 @@ export default function BingoController(){ const sizeError = (items.length < size); return( <> -
+
-
- 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 d00b91a..7e74f74 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} ); } diff --git a/src/app/components/themeswitcher.tsx b/src/app/components/themeswitcher.tsx index 993d287..3896566 100644 --- a/src/app/components/themeswitcher.tsx +++ b/src/app/components/themeswitcher.tsx @@ -8,12 +8,14 @@ export default function ThemeSwitcher(){ React.useEffect(() => {document.body.setAttribute("data-theme", theme)}); return( -