Skip to content

Commit

Permalink
Fix not being able to type space in the seed phrase input
Browse files Browse the repository at this point in the history
Fixes #367

The regression was accidentally introduced in 54e5d28

I'm just removing the `.trim()` as it was too opinionated anyway.
  • Loading branch information
sindresorhus committed Jun 18, 2018
1 parent 37a35f5 commit 856c971
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/renderer/components/TextArea.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TextArea extends React.Component {
return;
}

value = value.replace(/\r?\n/g, ' ').trim();
value = value.replace(/\r?\n/g, ' ');
}

if (onChange) {
Expand Down

0 comments on commit 856c971

Please sign in to comment.