From ea050683bdebe7acd6d9e86bf63535655af19521 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Thu, 7 Mar 2019 15:39:42 +0000 Subject: [PATCH] Use the right prop type for functions --- src/components/views/elements/Field.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/elements/Field.js b/src/components/views/elements/Field.js index 4ccb3e9440..5bb4067ae2 100644 --- a/src/components/views/elements/Field.js +++ b/src/components/views/elements/Field.js @@ -38,7 +38,7 @@ export default class Field extends React.PureComponent { // changes. Returns an object with `valid` boolean field // and a `feedback` react component field to provide feedback // to the user. - onValidate: PropTypes.function, + onValidate: PropTypes.func, // All other props pass through to the . };