diff --git a/packages/app/src/components/Login/index.jsx b/packages/app/src/components/Login/index.jsx index 83b54636..3be5a85e 100755 --- a/packages/app/src/components/Login/index.jsx +++ b/packages/app/src/components/Login/index.jsx @@ -103,6 +103,14 @@ export default class Login extends React.Component { } } + onClickRegister = () => { + if (typeof this.props.close === "function") { + this.props.close() + } + + app.eventBus.emit("app.createRegister") + } + toogleLoading = (to) => { if (typeof to === "undefined") { to = !this.state.loading @@ -221,7 +229,7 @@ export default class Login extends React.Component { {this.state.error} -
+
You need a account?