This commit is contained in:
parent
189d347507
commit
cfedd088d5
|
|
@ -35,7 +35,7 @@ export function MixSignUp(props: {
|
||||||
|
|
||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
const { t } = useTranslation();
|
const { t } = useTranslation();
|
||||||
|
|
||||||
React.useEffect(() => {
|
React.useEffect(() => {
|
||||||
const signUpFromParams = async () => {
|
const signUpFromParams = async () => {
|
||||||
const ticket = new URL(window.location.href).searchParams.get("__clerk_ticket");
|
const ticket = new URL(window.location.href).searchParams.get("__clerk_ticket");
|
||||||
|
|
@ -146,11 +146,11 @@ export function MixSignUp(props: {
|
||||||
typeof regname !== "string"
|
typeof regname !== "string"
|
||||||
) {
|
) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("--regname:", regname, "--referrer:", refer)
|
console.log("--regname:", regname, "--referrer:", refer)
|
||||||
props.email(regname)
|
props.email(regname)
|
||||||
props.referrer(refer)
|
props.referrer(refer || "")
|
||||||
|
|
||||||
setGoPassword(true)
|
setGoPassword(true)
|
||||||
}}>
|
}}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue