Skip to content

Commit

Permalink
Added validation to require name for room
Browse files Browse the repository at this point in the history
  • Loading branch information
legendsort committed Oct 1, 2019
1 parent 7e2f2e0 commit a9e65cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/CreateRoomForm/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const CreateRoomForm = ({ submit }) => (
e.target[0].value = ''
}}
>
<input placeholder="Create a Room" />
<input placeholder="Create a Room" type="text" required />
<button>
<input type="checkbox" />
<svg>
Expand Down

0 comments on commit a9e65cd

Please sign in to comment.