Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-10 08:33:36 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a4948d9867002ba110371a2ac486016fb7f4fa03
a4948d98
1 parent
4a65fe22
의존성 오류로 Ready의 의존성 되돌림
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
web/src/components/room/Ready.tsx
web/src/components/room/Ready.tsx
View file @
a4948d9
...
...
@@ -28,7 +28,7 @@ const Ready: React.FC<ReadyProps> = ({ users }) => {
var test = users.length > 1;
users.forEach(x => test = test && (x.ready || x.admin));
setIsAllReady(test);
}
, [users, location.state.username]
);
});
const handleReady = useCallback(() => {
if (isAdmin && isAllReady) {
...
...
Please
register
or
login
to post a comment