From a15cd90debbe5144fa12cbbd036bc4a9d793b96d Mon Sep 17 00:00:00 2001 From: Zeke Abshire Date: Tue, 4 Apr 2023 00:26:19 -0500 Subject: [PATCH] renamed signup details route --- src/pages/auth/{user-info => setup-profile}/index.tsx | 0 src/pages/auth/sign-in/index.tsx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename src/pages/auth/{user-info => setup-profile}/index.tsx (100%) diff --git a/src/pages/auth/user-info/index.tsx b/src/pages/auth/setup-profile/index.tsx similarity index 100% rename from src/pages/auth/user-info/index.tsx rename to src/pages/auth/setup-profile/index.tsx diff --git a/src/pages/auth/sign-in/index.tsx b/src/pages/auth/sign-in/index.tsx index c0217cf..c0f82da 100644 --- a/src/pages/auth/sign-in/index.tsx +++ b/src/pages/auth/sign-in/index.tsx @@ -98,7 +98,7 @@ export async function getServerSideProps(ctx: GetServerSidePropsContext) { if (isNewUser) { return { redirect: { - destination: "/auth/user-info", + destination: "/auth/setup-profile", permanent: false, }, };