mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 00:58:14 -05:00
Make props required
This commit is contained in:
parent
f9e48973bc
commit
187406938a
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue