client: redirect to /new when authenticated
This commit is contained in:
parent
62a77b619e
commit
a84459b859
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const Auth = ({ page }: { page: "signup" | "signin" }) => {
|
|||
signin(json.token)
|
||||
Cookies.set('drift-userid', json.userId);
|
||||
|
||||
router.push('/')
|
||||
router.push('/new')
|
||||
}
|
||||
|
||||
const handleSubmit = async (e: FormEvent<HTMLFormElement>) => {
|
||||
|
|
Loading…
Reference in a new issue