Forráskód Böngészése

fixing minor memory leak according to React

Kirk Trombley 5 éve
szülő
commit
0aa35d968c
1 módosított fájl, 0 hozzáadás és 1 törlés
  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;