Skip to content

Commit

Permalink
add missing levelIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
rajbos committed Aug 21, 2024
1 parent 19493d5 commit ddfb229
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/GameLandscape.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ const GameLandscape = () => {
function displayLevelInfo(levelIndex) {
const redirect = basename;
console.log(`displayLevelInfo basename: ${basename}`);
navigate(`/gamelevel?level=${id}`);
navigate(`/gamelevel?level=${levelIndex}`);
}

loadLevels();
Expand Down

0 comments on commit ddfb229

Please sign in to comment.