mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-30 18:16:48 +10:00
Move prop type destructuring statement
This commit is contained in:
parent
814184aa0a
commit
0896ea47a7
1 changed files with 2 additions and 2 deletions
|
|
@ -6,8 +6,6 @@ import { Button, LabeledField } from '../../components';
|
|||
|
||||
import css from './LoginForm.css';
|
||||
|
||||
const { bool } = PropTypes;
|
||||
|
||||
const LoginFormComponent = props => {
|
||||
const { handleSubmit, pristine, submitting, inProgress, intl } = props;
|
||||
const emailLabel = intl.formatMessage({
|
||||
|
|
@ -36,6 +34,8 @@ const LoginFormComponent = props => {
|
|||
|
||||
LoginFormComponent.defaultProps = { inProgress: false };
|
||||
|
||||
const { bool } = PropTypes;
|
||||
|
||||
LoginFormComponent.propTypes = {
|
||||
...formPropTypes,
|
||||
inProgress: bool,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue