Skip to content

Commit

Permalink
capitalize game types
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeldaZach committed Feb 26, 2019
1 parent da81d2e commit 890740f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/src/lobby/GameTypes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const GameType = ({type, isChecked}) => (
onChange={() => {
App.save("type", type);
}}
checked={isChecked}/> {type}
checked={isChecked}/> {type.toLowerCase().split(' ').map((s) => s.charAt(0).toUpperCase() + s.substring(1)).join(' ')}
</label>
);

Expand Down

0 comments on commit 890740f

Please sign in to comment.