diff --git a/frontend/src/components/tankGame/states/WaitingForPlayers.tsx b/frontend/src/components/tankGame/states/WaitingForPlayers.tsx index 838d0ff..41605a5 100644 --- a/frontend/src/components/tankGame/states/WaitingForPlayers.tsx +++ b/frontend/src/components/tankGame/states/WaitingForPlayers.tsx @@ -90,6 +90,7 @@ export function WaitingForPlayers({ onClick={() => { write?.(); refetch?.(); + setPlayerName(""); }} disabled={!write} >