From 764b9dbf1287f03322721ece6b23515a45be8c10 Mon Sep 17 00:00:00 2001 From: Brett Sun Date: Wed, 16 Dec 2015 12:44:50 +0100 Subject: [PATCH] Remove leftover function from previous functionality that was removed --- .../wallet/components/cyland/cyland_register_piece.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js b/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js index af8ae04f..0c6b9be2 100644 --- a/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js +++ b/js/components/whitelabel/wallet/components/cyland/cyland_register_piece.js @@ -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;