hiding game mode for now as there's no different game modes for either tictactoe or battleship

This commit is contained in:
2025-12-03 22:05:22 +05:30
parent eb6749dc0b
commit 51b051b34c

View File

@@ -179,23 +179,23 @@ export default function Player({
<option value="battleship">Battleship</option>
</select>
<select
value={selectedMode}
disabled={isQueueing}
onChange={(e) => setSelectedMode(e.target.value)}
style={{
padding: "8px",
margin: "10px 0 16px",
width: "60%",
borderRadius: "10px",
background: "#222",
color: "white",
border: "1px solid #333",
}}
>
<option value="classic">Classic</option>
<option value="blitz">Blitz</option>
</select>
{/*<select*/}
{/* value={selectedMode}*/}
{/* disabled={isQueueing}*/}
{/* onChange={(e) => setSelectedMode(e.target.value)}*/}
{/* style={{*/}
{/* padding: "8px",*/}
{/* margin: "10px 0 16px",*/}
{/* width: "60%",*/}
{/* borderRadius: "10px",*/}
{/* background: "#222",*/}
{/* color: "white",*/}
{/* border: "1px solid #333",*/}
{/* }}*/}
{/*>*/}
{/* <option value="classic">Classic</option>*/}
{/* <option value="blitz">Blitz</option>*/}
{/*</select>*/}
{!isQueueing && (
<motion.button