Skip to content

Commit

Permalink
Merge pull request #217 from Team-Crops/fix/216-ready-status
Browse files Browse the repository at this point in the history
모든 유저가 준비 상태거나 호스트면 시작하기 버튼 활성화
  • Loading branch information
jaewoongs authored Jun 27, 2024
2 parents faca17d + b5a9c04 commit 7fd3499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/molecules/MatchingButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ export const MatchingReadyButton = ({

return matchingMe?.isHost ? (
<MatchingButton
disabled={!room?.matchingUsers.every((u) => u.isReady) || isStartMutating}
disabled={!room?.matchingUsers.every((u) => u.isReady || u.isHost) || isStartMutating}
onClick={async () => {
await start();
router.push('/projects');
Expand Down

0 comments on commit 7fd3499

Please sign in to comment.