Merge branch 'develop' of github.com:matrix-org/matrix-react-sdk into t3chguy/ts/12

This commit is contained in:
Michael Telatynski 2021-08-10 10:21:01 +01:00
commit cd1b315ed6
234 changed files with 8572 additions and 3202 deletions

View file

@ -103,8 +103,8 @@ export default class CaptchaForm extends React.Component<ICaptchaFormProps, ICap
}
private resetRecaptcha() {
if (this.captchaWidgetId !== null) {
global.grecaptcha.reset(this.captchaWidgetId);
if (this.captchaWidgetId) {
global?.grecaptcha?.reset(this.captchaWidgetId);
}
}