This commit is contained in:
hailin 2025-03-15 18:38:14 +08:00
parent 189d347507
commit cfedd088d5
1 changed files with 3 additions and 3 deletions

View File

@ -35,7 +35,7 @@ export function MixSignUp(props: {
const router = useRouter();
const { t } = useTranslation();
React.useEffect(() => {
const signUpFromParams = async () => {
const ticket = new URL(window.location.href).searchParams.get("__clerk_ticket");
@ -146,11 +146,11 @@ export function MixSignUp(props: {
typeof regname !== "string"
) {
return null;
}
}
console.log("--regname:", regname, "--referrer:", refer)
props.email(regname)
props.referrer(refer)
props.referrer(refer || "")
setGoPassword(true)
}}>