This commit is contained in:
2025-01-17 14:14:30 +01:00
parent 75d86e8ba4
commit 825ef49398
7 changed files with 61 additions and 61 deletions
+3 -3
View File
@@ -33,15 +33,15 @@ const JoinGamePage = () => {
return (
<div className="join-game-container">
<h1>Join a Game</h1>
<h1>Betrete ein Spiel</h1>
<form onSubmit={handleJoinGame}>
<input
type="text"
placeholder="Enter Game Code"
placeholder="Füge die Game ID ein"
value={gameCode}
onChange={(e) => setGameCode(e.target.value)}
/>
<button type="submit">Join Game</button>
<button type="submit">Betrete Spiel</button>
</form>
{error && <p className="error">{error}</p>}
</div>