Przeglądaj źródła

fixing minor memory leak according to React

Kirk Trombley 5 lat temu
rodzic
commit
0aa35d968c
1 zmienionych plików z 0 dodań i 1 usunięć
  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;