From 187406938a03d2fc8d7a738c4b2c27c0728d07b3 Mon Sep 17 00:00:00 2001 From: picklesrus Date: Fri, 27 Mar 2020 09:03:45 -0400 Subject: [PATCH] Make props required --- src/components/captcha/captcha.jsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/captcha/captcha.jsx b/src/components/captcha/captcha.jsx index cb51f4d79..f6ba27efe 100644 --- a/src/components/captcha/captcha.jsx +++ b/src/components/captcha/captcha.jsx @@ -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;