diff --git a/apps/mobile/app/components/auth/session-expired.tsx b/apps/mobile/app/components/auth/session-expired.tsx index c627c3de4..043f293c2 100644 --- a/apps/mobile/app/components/auth/session-expired.tsx +++ b/apps/mobile/app/components/auth/session-expired.tsx @@ -45,7 +45,7 @@ import { Button } from "../ui/button"; import { IconButton } from "../ui/icon-button"; import Heading from "../ui/typography/heading"; import Paragraph from "../ui/typography/paragraph"; -import { LoginSteps, useLogin } from "./use-login"; +import { useLogin } from "./use-login"; import { strings } from "@notesnook/intl"; import { getObfuscatedEmail } from "../../utils/functions"; import { DefaultAppStyles } from "../../utils/styles"; @@ -195,24 +195,22 @@ export const SessionExpired = () => { - {step === LoginSteps.passwordAuth ? ( - { - login(); - }} - /> - ) : null} + { + login(); + }} + />