Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored form #20

Merged
merged 6 commits into from
Feb 14, 2017
Merged

Refactored form #20

merged 6 commits into from
Feb 14, 2017

Conversation

jbasdf
Copy link
Contributor

@jbasdf jbasdf commented Feb 11, 2017

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 99.855% when pulling 5d3faf1 on betterForm into b3c2620 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 99.855% when pulling a5d2e8c on betterForm into b3c2620 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 99.855% when pulling f1810b3 on betterForm into b3c2620 on master.

@@ -13,18 +12,13 @@ function select(state) {
};
}

export class Home extends React.Component {
export class Index extends React.Component {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Component should be written as a pure function react/prefer-stateless-function

checked: React.PropTypes.bool,
name: React.PropTypes.string,
type: React.PropTypes.string.isRequired,
onChange: React.PropTypes.func,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'inputProps.onChange' PropType is defined but prop is never used react/no-unused-prop-types

id: React.PropTypes.string,
value: React.PropTypes.string,
checked: React.PropTypes.bool,
name: React.PropTypes.string,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'inputProps.name' PropType is defined but prop is never used react/no-unused-prop-types

inputProps: React.PropTypes.shape({
id: React.PropTypes.string,
value: React.PropTypes.string,
checked: React.PropTypes.bool,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'inputProps.checked' PropType is defined but prop is never used react/no-unused-prop-types

labelText: React.PropTypes.string,
inputProps: React.PropTypes.shape({
id: React.PropTypes.string,
value: React.PropTypes.string,

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'inputProps.value' PropType is defined but prop is never used react/no-unused-prop-types

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 99.855% when pulling 5619f21 on betterForm into b3c2620 on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.004%) to 99.855% when pulling b190004 on betterForm into b3c2620 on master.

Copy link
Collaborator

@bfcoder bfcoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good to me

@jbasdf jbasdf merged commit 66d83b7 into master Feb 14, 2017
@jbasdf jbasdf deleted the betterForm branch February 14, 2017 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants