Skip to content

Commit

Permalink
making it better
Browse files Browse the repository at this point in the history
  • Loading branch information
Coby-Burckard committed May 8, 2020
1 parent bf38a8a commit ec506f2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/components/StartGame.js
Expand Up @@ -6,7 +6,7 @@ import {rolesFilledSelector} from '../selectors/gameSelectors';

const StartGame = () => {
const dispatch = useDispatch();
const {allRolesFilled} = useSelector(rolesFilledSelector);
// const {allRolesFilled} = useSelector(rolesFilledSelector);
const userColor = useSelector((state) => state.user.team);

const handleStartGame = () => {
Expand All @@ -19,7 +19,6 @@ const StartGame = () => {
})}
type="button"
onClick={handleStartGame}
disabled={!allRolesFilled}
>
Start Game
</button>
Expand Down

0 comments on commit ec506f2

Please sign in to comment.