Overnap

의존성 오류로 Ready의 의존성 되돌림

...@@ -28,7 +28,7 @@ const Ready: React.FC<ReadyProps> = ({ users }) => { ...@@ -28,7 +28,7 @@ const Ready: React.FC<ReadyProps> = ({ users }) => {
28 var test = users.length > 1; 28 var test = users.length > 1;
29 users.forEach(x => test = test && (x.ready || x.admin)); 29 users.forEach(x => test = test && (x.ready || x.admin));
30 setIsAllReady(test); 30 setIsAllReady(test);
31 - }, [users, location.state.username]); 31 + });
32 32
33 const handleReady = useCallback(() => { 33 const handleReady = useCallback(() => {
34 if (isAdmin && isAllReady) { 34 if (isAdmin && isAllReady) {
......