We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4eb862 commit b2ae438Copy full SHA for b2ae438
src/recaptcha.js
@@ -49,7 +49,7 @@ export default class ReCAPTCHA extends React.Component {
49
}
50
51
explicitRender(cb) {
52
- if (this.props.grecaptcha && this.state.widgetId === undefined) {
+ if (this.props.grecaptcha && this.props.grecaptcha.render && this.state.widgetId === undefined) {
53
const wrapper = document.createElement("div");
54
const id = this.props.grecaptcha.render(wrapper, {
55
sitekey: this.props.sitekey,
0 commit comments