瀏覽代碼

fixing minor memory leak according to React

Kirk Trombley 5 年之前
父節點
當前提交
0aa35d968c
共有 1 個文件被更改,包括 0 次插入1 次删除
  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;