Login/Auth and pariticipate. Telegram auth (wip)

This commit is contained in:
vjrj 2017-12-22 09:33:37 +01:00
parent 91b4197b04
commit 4227389a67
14 changed files with 161 additions and 48 deletions

View file

@ -16,7 +16,8 @@ class Login extends React.Component {
super(props);
this.t = props.t;
this.handleSubmit = this.handleSubmit.bind(this);
// console.log(this.props.location.state);
console.log(this.props.location.state);
this.state = props.location.state;
}
componentDidMount() {
@ -110,6 +111,7 @@ class Login extends React.Component {
Login.propTypes = {
history: PropTypes.object.isRequired,
t: PropTypes.func.isRequired,
location: PropTypes.object
};
export default translate([], { wait: true })(Login);