From 2361a997fe56099cd9a532a64e61e1aa2eb075bf Mon Sep 17 00:00:00 2001 From: Vincent Taverna Date: Fri, 6 Jan 2017 09:08:30 -0500 Subject: [PATCH 1/2] fix minor UI bug on the auth types for login --- app/screens/Login/components/LoginFormContainer.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/screens/Login/components/LoginFormContainer.js b/app/screens/Login/components/LoginFormContainer.js index 2e01864..3f9627d 100644 --- a/app/screens/Login/components/LoginFormContainer.js +++ b/app/screens/Login/components/LoginFormContainer.js @@ -55,6 +55,9 @@ const LoginForm = React.createClass({ authenticating, } = this.props + const isGoogleActive = this.state.authMethod === AUTH_METHODS.google + const isPTCActive = this.state.authMethod === AUTH_METHODS.ptc + if (authenticating) { return (
@@ -72,8 +75,9 @@ const LoginForm = React.createClass({