Browse Source

fixing minor memory leak according to React

Kirk Trombley 5 năm trước cách đây
mục cha
commit
0aa35d968c
1 tập tin đã thay đổi với 0 bổ sung1 xóa
  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;