Skip to content

Commit

Permalink
Fixing ValidationSummary's PropTypes and removing warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
andrerpena committed Nov 19, 2015
1 parent 51d4225 commit 9c81bbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ValidationSummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ValidationSummary = React.createClass({
propTypes: {
open: React.PropTypes.bool,
messages: React.PropTypes.array,
onDismiss: React.PropTypes.node
onDismiss: React.PropTypes.func
},
handleAlertDismiss() {
if (this.props.onDismiss) {
Expand Down

0 comments on commit 9c81bbe

Please sign in to comment.