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