feat: integrate login/registration into PurchaseWizard
This commit is contained in:
@@ -30,7 +30,7 @@ export default function Login({ status, canResetPassword }: LoginProps) {
|
||||
const submit = (e: FormEvent<HTMLFormElement>) => {
|
||||
e.preventDefault();
|
||||
setHasTriedSubmit(true);
|
||||
post('/login', {
|
||||
post(window.location.pathname, {
|
||||
preserveScroll: true,
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user