mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-29 05:00:43 +10:00
Remove Sign up link and add dead code warning to sign up form
This commit is contained in:
parent
9f7d1e53b2
commit
1ef15243f3
2 changed files with 20 additions and 2 deletions
|
|
@ -48,9 +48,9 @@ export const AuthenticationPageComponent = props => {
|
|||
{isLogin
|
||||
? <LoginForm onSubmit={onLoginSubmit} />
|
||||
: <SignUpForm onSubmit={onSignUpSubmit} />}
|
||||
{isLogin
|
||||
{/* {isLogin
|
||||
? <NamedLink name="SignUpPage" to={{ state: from ? { from } : null }}>Sign up</NamedLink>
|
||||
: <NamedLink name="LogInPage" to={{ state: from ? { from } : null }}>Log in</NamedLink>}
|
||||
: <NamedLink name="LogInPage" to={{ state: from ? { from } : null }}>Log in</NamedLink>} */}
|
||||
</div>
|
||||
</PageLayout>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue