Fix use of logger that assumes it interpolates strings (#10789)
This commit is contained in:
parent
02de2f5ba9
commit
7856d84034
4 changed files with 7 additions and 7 deletions
|
@ -94,7 +94,7 @@ export default class CaptchaForm extends React.Component<ICaptchaFormProps, ICap
|
|||
throw new Error("This server has not supplied enough information for Recaptcha authentication");
|
||||
}
|
||||
|
||||
logger.info("Rendering to %s", divId);
|
||||
logger.info(`Rendering to ${divId}`);
|
||||
this.captchaWidgetId = global.grecaptcha?.render(divId, {
|
||||
sitekey: publicKey,
|
||||
callback: this.props.onCaptchaResponse,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue