Browse Source
Merge pull request #129 from pajasevi/feature/allow-submit-onEnter
Allow submitting peer on Enter key press
renovate/lint-staged-8.x
JimmyMow
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
app/components/Peers/PeerForm.js
|
|
@ -20,7 +20,7 @@ const PeerForm = ({ form, setForm, connect }) => { |
|
|
|
parentSelector={() => document.body} |
|
|
|
className={styles.modal} |
|
|
|
> |
|
|
|
<div className={styles.form}> |
|
|
|
<div className={styles.form} onKeyPress={event => event.charCode === 13 && submit()}> |
|
|
|
<h1 className={styles.title}>Connect to a peer</h1> |
|
|
|
|
|
|
|
<section className={styles.pubkey}> |
|
|
|