mirror of
https://github.com/wassname/talk.git
synced 2026-08-02 13:10:23 +08:00
Fix e2e
This commit is contained in:
@@ -62,6 +62,15 @@ class SignUpContainer extends Component {
|
||||
this.props.setView(views.SIGN_IN);
|
||||
};
|
||||
|
||||
componentWillReceiveProps(nextProps) {
|
||||
if (nextProps.success) {
|
||||
setTimeout(() => {
|
||||
// allow success UI to be shown for a second, and then close the modal
|
||||
this.props.setView(views.SIGN_IN);
|
||||
}, 2000);
|
||||
}
|
||||
}
|
||||
|
||||
render() {
|
||||
return (
|
||||
<SignUp
|
||||
|
||||
Reference in New Issue
Block a user