mirror of
https://github.com/urbit/shrub.git
synced 2025-01-03 01:54:43 +03:00
don't allow spurious newline in input
This commit is contained in:
parent
670563d1a0
commit
af1573725f
@ -113,6 +113,7 @@ export class JoinScreen extends Component {
|
||||
rows={1}
|
||||
onKeyPress={e => {
|
||||
if (e.key === "Enter") {
|
||||
e.preventDefault();
|
||||
this.onClickJoin();
|
||||
}
|
||||
}}
|
||||
|
Loading…
Reference in New Issue
Block a user