Skip to content

Commit

Permalink
Change the mode when creating a new room (#276)
Browse files Browse the repository at this point in the history
  • Loading branch information
takumihara authored Feb 21, 2024
1 parent 3cfc4e2 commit 0dd985a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/app/pong/JoinRoomForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ function CreateRoomButton() {
const randomRoomId = v4();
return (
<Button asChild>
<Link href={`/pong/${randomRoomId}`}>Create a new room</Link>
<Link href={`/pong/${randomRoomId}?mode=player`}>Create a new room</Link>
</Button>
);
}

0 comments on commit 0dd985a

Please sign in to comment.