stop double register from logging people out
This commit is contained in:
@@ -38,6 +38,7 @@ function Register(args) {
|
||||
|
||||
const registerSubmit = (event) => {
|
||||
event.preventDefault();
|
||||
this.setState({ name: '', password: '', confirm: '' });
|
||||
submitRegister(name, password);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user