diff --git a/apps/server/client/modules/login/index.tsx b/apps/server/client/modules/login/index.tsx index 3f22cce04..c231e9408 100644 --- a/apps/server/client/modules/login/index.tsx +++ b/apps/server/client/modules/login/index.tsx @@ -3,7 +3,6 @@ import { queryClient } from "@client/lib/query-client" import { useSession } from "@client/query/auth" import { useAuthProviders } from "@client/query/users" import { Logo } from "@follow/components/icons/logo.jsx" -import { AutoResizeHeight } from "@follow/components/ui/auto-resize-height/index.jsx" import { Button, MotionButtonBase } from "@follow/components/ui/button/index.js" import { Divider } from "@follow/components/ui/divider/index.js" import { @@ -194,7 +193,7 @@ export function Login() { const Content = useMemo(() => { switch (true) { case redirecting: { - return
{t("login.redirecting")}
+ return
{t("login.redirecting")}
} default: { return
{LoginOrStatusContent}
@@ -205,19 +204,17 @@ export function Login() { return (
- {isLoading && } - - <> - {!isAuthenticated && !isLoading && ( -

- {t("login.logInTo")} - {` ${APP_NAME}`} -

- )} - {Content} - -
+ <> + {!isAuthenticated && !isLoading && ( +

+ {t("login.logInTo")} + {` ${APP_NAME}`} +

+ )} + {Content} + {isLoading && } +
) }