General cosmetics.
This commit is contained in:
parent
4a4ff7522f
commit
0e5892147a
4 changed files with 11 additions and 11 deletions
|
@ -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 (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue