From b8f603f92097189dc12d1a5d37d3fe289eb507c5 Mon Sep 17 00:00:00 2001 From: Lakhan Baheti <94619783+1akhanBaheti@users.noreply.github.com> Date: Mon, 27 Nov 2023 17:17:55 +0530 Subject: [PATCH] chore: signup removed (#2890) --- web/components/page-views/signin.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/web/components/page-views/signin.tsx b/web/components/page-views/signin.tsx index 4d118f160..891f19f76 100644 --- a/web/components/page-views/signin.tsx +++ b/web/components/page-views/signin.tsx @@ -30,8 +30,7 @@ export type AuthType = "sign-in" | "sign-up"; const authService = new AuthService(); export const SignInView = observer(() => { - // states - const [authType, setAuthType] = useState("sign-up"); + // store const { user: { fetchCurrentUser, fetchCurrentUserSettings }, appConfig: { envConfig }, @@ -41,6 +40,7 @@ export const SignInView = observer(() => { const { next: next_url } = router.query as { next: string }; // states const [isLoading, setLoading] = useState(false); + const [authType, setAuthType] = useState("sign-in"); // toast const { setToastAlert } = useToast(); const { resolvedTheme } = useTheme(); @@ -196,7 +196,7 @@ export const SignInView = observer(() => { Plane -
+ {/*
{authType === "sign-in" && (
New to Plane?{" "} @@ -210,7 +210,7 @@ export const SignInView = observer(() => {

)} -
+
*/}
@@ -259,7 +259,7 @@ export const SignInView = observer(() => { /> )}
- {authType === "sign-up" && ( + {/* {authType === "sign-up" && (
Already using Plane?{" "} { Sign in
- )} + )} */}