1
0
mirror of https://github.com/ascribe/onion.git synced 2024-06-28 00:28:00 +02:00

Remove leftover function from previous functionality that was removed

This commit is contained in:
Brett Sun 2015-12-16 12:44:50 +01:00
parent 7fbe8a311b
commit 764b9dbf12

View File

@ -152,14 +152,6 @@ let CylandRegisterPiece = React.createClass({
);
},
changeSlide() {
// only transition to the login store, if user is not logged in
// ergo the currentUser object is not properly defined
if(this.state.currentUser && !this.state.currentUser.email) {
this.onLoggedOut();
}
},
render() {
const { location } = this.props;
const { currentUser, piece, step, whitelabel } = this.state;