More work in header and distanceslider

This commit is contained in:
vjrj 2017-12-12 00:38:40 +01:00
parent 29f9a2d476
commit 5bed310153
7 changed files with 64 additions and 48 deletions

View file

@ -53,12 +53,6 @@ class Login extends React.Component {
Bert.alert(T9n.get(`error.accounts.${error.reason}`), 'danger');
} else {
Bert.alert(this.t('Bienvenid@ de nuevo'), 'success');
console.log(this.props.location.state);
if (this.props.location.state &&
this.props.location.state.center &&
this.props.location.state.distance) {
this.props.history.push('/subscriptions', this.props.location.state);
}
}
});
}