Skip to content

Commit

Permalink
fix: rename "validate" to "validateFiles"
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed May 1, 2019
1 parent 69d62c3 commit 0f4bee0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Files.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ class Files extends React.Component<Props> {
htmlFor: id || this.id
};
},
validate: this.validateFiles,
validateFiles: this.validateFiles,
browseFiles: ({ onSuccess, onError }: BrowseFilesParams = {}) => {
this.browseFilesHandler({ onSuccess, onError });
},
Expand Down

0 comments on commit 0f4bee0

Please sign in to comment.