diff --git a/.changeset/short-tomatoes-shake.md b/.changeset/short-tomatoes-shake.md new file mode 100644 index 00000000000..a7927188941 --- /dev/null +++ b/.changeset/short-tomatoes-shake.md @@ -0,0 +1,5 @@ +--- +'@clerk/clerk-js': patch +--- + +Fix interactive bot protection widget not appearing on transfer flow diff --git a/packages/clerk-js/src/ui/components/SignUp/SignUpForm.tsx b/packages/clerk-js/src/ui/components/SignUp/SignUpForm.tsx index 2bd85057e71..6cb45a6426b 100644 --- a/packages/clerk-js/src/ui/components/SignUp/SignUpForm.tsx +++ b/packages/clerk-js/src/ui/components/SignUp/SignUpForm.tsx @@ -113,7 +113,7 @@ export const SignUpForm = (props: SignUpFormProps) => { )} - + )} - {!shouldShowForm && } + {!shouldShowForm && } diff --git a/packages/clerk-js/src/ui/elements/CaptchaElement.tsx b/packages/clerk-js/src/ui/elements/CaptchaElement.tsx index 19ae4cc282c..26edf2c5a8c 100644 --- a/packages/clerk-js/src/ui/elements/CaptchaElement.tsx +++ b/packages/clerk-js/src/ui/elements/CaptchaElement.tsx @@ -1,9 +1,13 @@ import { CAPTCHA_ELEMENT_ID } from '../../utils/captcha'; import { Box } from '../customizables'; -export const CaptchaElement = () => ( +type CaptchaElementProps = { + maxHeight?: string; +}; + +export const CaptchaElement = ({ maxHeight }: CaptchaElementProps) => ( );