General cosmetics.

This commit is contained in:
Manuel Friedli 2023-04-16 04:04:00 +02:00
parent 4a4ff7522f
commit 0e5892147a
4 changed files with 11 additions and 11 deletions

View file

@ -7,7 +7,8 @@ export default function Maze({labyrinth, showSolution = false}) {
return <div>No valid maze.</div>
}
const maze = labyrinth.grid.map((row, rowIdx) => <Row key={"r" + rowIdx} spec={row}
const maze = labyrinth.grid.map((row, rowIdx) => <Row key={rowIdx}
spec={row}
index={rowIdx}
showSolution={showSolution}/>);
return (