mirror of
https://github.com/formbricks/formbricks.git
synced 2026-05-03 19:40:08 -05:00
fix: strict recaptcha checks (#5674)
This commit is contained in:
@@ -51,7 +51,7 @@ export const SurveyInline = (props: Omit<SurveyContainerProps, "containerId">) =
|
||||
const loadScript = async () => {
|
||||
if (!window.formbricksSurveys) {
|
||||
try {
|
||||
if (props.isSpamProtectionEnabled) {
|
||||
if (props.isSpamProtectionEnabled && props.recaptchaSiteKey) {
|
||||
await loadRecaptchaScript(props.recaptchaSiteKey);
|
||||
}
|
||||
await loadSurveyScript();
|
||||
|
||||
Reference in New Issue
Block a user