Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

mobile: fix ts errors in build

Ammar Ahmed47ba40d7cd6f
diff --git a/apps/mobile/app/components/auth/session-expired.tsx b/apps/mobile/app/components/auth/session-expired.tsx
index 808fcc190..c627c3de4 100644
--- a/apps/mobile/app/components/auth/session-expired.tsx
+++ b/apps/mobile/app/components/auth/session-expired.tsx
@@ -89,8 +89,6 @@ export const SessionExpired = () => {
const open = React.useCallback(async () => {
try {
- console.log("open...");
- throw new Error("test");
const res = await db.tokenManager.getToken();
if (!res) throw new Error("no token found");
if (db.tokenManager._isTokenExpired(res))