Commit 18740693 authored by picklesrus's avatar picklesrus

Make props required

parent f9e48973
...@@ -69,8 +69,8 @@ class Captcha extends React.Component { ...@@ -69,8 +69,8 @@ class Captcha extends React.Component {
} }
} }
Captcha.propTypes = { Captcha.propTypes = {
onCaptchaError: PropTypes.func, onCaptchaError: PropTypes.func.isRequired,
onCaptchaLoad: PropTypes.func, onCaptchaLoad: PropTypes.func.isRequired,
onCaptchaSolved: PropTypes.func onCaptchaSolved: PropTypes.func.isRequired
}; };
module.exports = Captcha; module.exports = Captcha;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment