mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 09:08:07 -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 = {
|
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;
|
||||||
|
|
Loading…
Reference in a new issue