diff --git a/ui/src/Game.tsx b/ui/src/Game.tsx index fb55262..fc17b7b 100644 --- a/ui/src/Game.tsx +++ b/ui/src/Game.tsx @@ -143,7 +143,7 @@ export function Game(props: {wasm: GameWasm, settings: Settings}) { - - ; diff --git a/ui/src/TileExchange.tsx b/ui/src/TileExchange.tsx index 7388e92..01334b6 100644 --- a/ui/src/TileExchange.tsx +++ b/ui/src/TileExchange.tsx @@ -38,12 +38,12 @@ export function TileExchangeModal(props: { Click on each tile you'd like to exchange. You currently have {tilesExchangedSelected} tiles selected.
- -
@@ -59,7 +59,7 @@ export function TileExchangeModal(props: { setTilesToExchange(clearExchangeTiles()); props.setOpen(false); }}>Cancel - diff --git a/ui/src/UI.tsx b/ui/src/UI.tsx index 4e41e4e..bd50085 100644 --- a/ui/src/UI.tsx +++ b/ui/src/UI.tsx @@ -158,7 +158,7 @@ export function Grid(props: { .forEach((letter, i) => { if (letter.location === LocationType.GRID) { const ct = props.cellTypes[letter.index]; - const {className, text} = cellTypeToDetails(ct); + const {className} = cellTypeToDetails(ct); elements[letter.index] =
@@ -183,7 +183,7 @@ export function Grid(props: { } export function Scores(props: {playerScores: Array}){ - let elements = props.playerScores.map((ps, i) => { + let elements = props.playerScores.map((ps) => { return

{ps.name}

{ps.score}