lllll
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user