don't allow spurious newline in input

This commit is contained in:
A Arroyo 2020-02-04 10:15:22 -08:00
parent 670563d1a0
commit af1573725f

View File

@ -113,6 +113,7 @@ export class JoinScreen extends Component {
rows={1}
onKeyPress={e => {
if (e.key === "Enter") {
e.preventDefault();
this.onClickJoin();
}
}}