Skip to content

Commit

Permalink
Feat: fixes URL
Browse files Browse the repository at this point in the history
  • Loading branch information
MWoodshop committed Oct 20, 2023
1 parent 8c78022 commit e4f5089
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Room/Room.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,4 +109,4 @@ export default function Room() {
{showPuzzleFive && <PuzzleFive setIsDisabled={() => setPuzzleState( 'puzzleFive')} winConditions={winConditions} setWinConditions={setWinConditions} onClose={handleClosePuzzleFive} />}
</article>
);
}
}
2 changes: 1 addition & 1 deletion src/components/Story/Story.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export default function Story() {
const startGame = async () => {
try {
const gameName = await fetchGameLink();
navigate(`/room/${gameName.room_name}`);
navigate(`/room/${gameName.game_name}`);
} catch (err) {
console.log(`${err.message}`);
}
Expand Down

0 comments on commit e4f5089

Please sign in to comment.