mirror of https://github.com/LemmyNet/lemmy.git
parent
8da44c343d
commit
a4b9e635ba
|
@ -271,6 +271,9 @@ export class Login extends Component<any, State> {
|
|||
|
||||
handleRegisterEmailChange(i: Login, event: any) {
|
||||
i.state.registerForm.email = event.target.value;
|
||||
if (i.state.registerForm.email == '') {
|
||||
i.state.registerForm.email = undefined;
|
||||
}
|
||||
i.setState(i.state);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue