From a84459b8597484972decb670996af0acc19a7d8b Mon Sep 17 00:00:00 2001 From: Max Leiter <maxwell.leiter@gmail.com> Date: Tue, 29 Mar 2022 13:22:47 -0700 Subject: [PATCH] client: redirect to /new when authenticated --- client/components/auth/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/auth/index.tsx b/client/components/auth/index.tsx index 5f48f3c..1bd4fb3 100644 --- a/client/components/auth/index.tsx +++ b/client/components/auth/index.tsx @@ -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>) => {