Commit 18740693 authored by picklesrus's avatar picklesrus

Make props required

parent f9e48973
......@@ -69,8 +69,8 @@ class Captcha extends React.Component {
}
}
Captcha.propTypes = {
onCaptchaError: PropTypes.func,
onCaptchaLoad: PropTypes.func,
onCaptchaSolved: PropTypes.func
onCaptchaError: PropTypes.func.isRequired,
onCaptchaLoad: PropTypes.func.isRequired,
onCaptchaSolved: PropTypes.func.isRequired
};
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