This commit is contained in:
parent
189d347507
commit
cfedd088d5
|
|
@ -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)
|
||||
}}>
|
||||
|
|
|
|||
Loading…
Reference in New Issue