Browse Source

fixing minor memory leak according to React

Kirk Trombley 5 years ago
parent
commit
0aa35d968c
1 changed files with 0 additions and 1 deletions
  1. 0 1
      client/src/components/screens/Lobby/JoinForm.jsx

+ 0 - 1
client/src/components/screens/Lobby/JoinForm.jsx

@@ -43,7 +43,6 @@ const JoinForm = () => {
       setLoading(false);
       return;
     }
-    setFailed(false);
   };
   const cannotJoinGame = !playerName || playerName.length === 0;