From ba253db226c3afd2fffcaeef8062a2596b65175e Mon Sep 17 00:00:00 2001 From: Ammar Ahmed Date: Thu, 30 Apr 2026 09:40:30 +0500 Subject: [PATCH] mobile: fix ts errors --- .../app/components/auth/session-expired.tsx | 36 +++++++++---------- .../app/components/paywall/plan-card.tsx | 34 +++++------------- 2 files changed, 25 insertions(+), 45 deletions(-) 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(); + }} + />