stop double register from logging people out

This commit is contained in:
ntr 2020-01-19 13:32:54 +10:00
parent 1f76913e84
commit a8d9144cf5

View File

@ -38,6 +38,7 @@ function Register(args) {
const registerSubmit = (event) => {
event.preventDefault();
this.setState({ name: '', password: '', confirm: '' });
submitRegister(name, password);
}