From 8f374852ac5d88ddded211ce005996eff580c25b Mon Sep 17 00:00:00 2001 From: Riley Davis Date: Fri, 3 Feb 2017 10:49:52 -0700 Subject: [PATCH] hide social stuff after sign up --- .../coral-sign-in/components/SignUpContent.js | 113 +++++++++--------- 1 file changed, 58 insertions(+), 55 deletions(-) diff --git a/client/coral-sign-in/components/SignUpContent.js b/client/coral-sign-in/components/SignUpContent.js index 9e04d9cd6..04bd2fd3e 100644 --- a/client/coral-sign-in/components/SignUpContent.js +++ b/client/coral-sign-in/components/SignUpContent.js @@ -17,65 +17,68 @@ const SignUpContent = ({handleChange, formData, emailVerificationEnabled, ...pro {lang.t('signIn.signUp')} -
- -
-
-

- {lang.t('signIn.or')} -

-
+ { props.auth.error && {props.auth.error} } { beforeSignup && -
- - - - { props.errors.password && Password must be at least 8 characters. } - -
- - { props.auth.isLoading && }
- +
+

+ {lang.t('signIn.or')} +

+
+
+ + + + { props.errors.password && Password must be at least 8 characters. } + +
+ + { props.auth.isLoading && } +
+ + } { successfulSignup &&