Trim whitespace in email field (#9027)

Signed-off-by: ankur12-1610 <anknerd.12@gmail.com>
This commit is contained in:
Ankur 2022-07-09 02:10:52 +05:30 committed by GitHub
parent cc8d78d971
commit 483ea9bf77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -251,7 +251,7 @@ export default class RegistrationForm extends React.PureComponent<IProps, IState
private onEmailChange = ev => {
this.setState({
email: ev.target.value,
email: ev.target.value.trim(),
});
};