Skip to content

Commit

Permalink
remove unneeded props
Browse files Browse the repository at this point in the history
  • Loading branch information
Rachel Killackey committed Jan 9, 2018
1 parent 1192572 commit 7bc6bd0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/forms/inputs/file-input/file-input.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,12 @@ class FileInput extends React.Component {
meta, // eslint-disable-line no-unused-vars
onLoad, // eslint-disable-line no-unused-vars
className, // eslint-disable-line no-unused-vars
invalid,
pristine,
submitting,
accept,
...rest
} = omitLabelProps(this.props)
const { file } = this.state
const wrapperClass = buttonClasses({ style: 'secondary-light', pristine, invalid, submitting })
const wrapperClass = buttonClasses({ style: 'secondary-light', submitting })
return (
<LabeledField { ...this.props }>
<div className="fileupload fileupload-exists">
Expand Down

0 comments on commit 7bc6bd0

Please sign in to comment.