+
{
+ setIsFriendlyChallengeDone(true)
+ }}
+ errorCallback={(error: any) => {
+ console.error('FriendlyCaptcha encountered an error', error)
+ setIsFriendlyChallengeDone(true)
+ }}
+ />
+ {/*@ts-ignore: TODO: types*/}
+ {errors?.root?.notCompletedCaptcha && (
+
+ {/*@ts-ignore: TODO: types*/}
+ {errors.root.notCompletedCaptcha.message}
+
+
+ )}
+
+