Login/Auth and pariticipate. Telegram auth (wip)
This commit is contained in:
parent
91b4197b04
commit
4227389a67
14 changed files with 161 additions and 48 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue