Update ui/src/pages/Auth.tsx
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
6960ab1106
commit
7576c5ecbc
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ export function AuthPage() {
|
|||
<form
|
||||
className="mt-6 space-y-4"
|
||||
method="post"
|
||||
action="/api/auth/sign-in/email"
|
||||
action={mode === "sign_up" ? "/api/auth/sign-up/email" : "/api/auth/sign-in/email"}
|
||||
onSubmit={(event) => {
|
||||
event.preventDefault();
|
||||
if (mutation.isPending) return;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue