fix(landing): opening auth link in a new tab

This commit is contained in:
Aminejv 2022-01-20 21:00:46 +01:00 committed by Martina
parent f03eea408f
commit 66ec20b6e5

View File

@ -896,7 +896,7 @@ export default function IndexPage() {
return errors;
},
onSubmit: async ({ email }) => {
window.open(`/_/auth?tab=signup&email=${email}`);
window.open(`/_/auth?tab=signup&email=${email}`, "_self");
},
});