From 1ef15243f34c87d56f811f25f90b068dcb265102 Mon Sep 17 00:00:00 2001 From: Mikko Koski Date: Fri, 24 Mar 2017 17:31:17 +0200 Subject: [PATCH] Remove Sign up link and add dead code warning to sign up form --- .../AuthenticationPage/AuthenticationPage.js | 4 ++-- src/containers/SignUpForm/SignUpForm.js | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/src/containers/AuthenticationPage/AuthenticationPage.js b/src/containers/AuthenticationPage/AuthenticationPage.js index a00e1d85..fb0deeda 100644 --- a/src/containers/AuthenticationPage/AuthenticationPage.js +++ b/src/containers/AuthenticationPage/AuthenticationPage.js @@ -48,9 +48,9 @@ export const AuthenticationPageComponent = props => { {isLogin ? : } - {isLogin + {/* {isLogin ? Sign up - : Log in} + : Log in} */} ); diff --git a/src/containers/SignUpForm/SignUpForm.js b/src/containers/SignUpForm/SignUpForm.js index 7e43923c..f41fb0e9 100644 --- a/src/containers/SignUpForm/SignUpForm.js +++ b/src/containers/SignUpForm/SignUpForm.js @@ -1,3 +1,21 @@ + +// ************************************************************************** +// +// D E A D +// +// C O D E +// +// W A R N I N G ! +// +// This component is currently not in use because: +// +// - We don't have signup ability in API yet +// - Link to the page/component has been removed +// +// If we decide to take this component into use again, remove this warning. +// +// ************************************************************************** + import React from 'react'; import { Field, reduxForm, propTypes as formPropTypes } from 'redux-form'; import { Button, Input } from '../../components';