From 5fe330cd79be034e41f9c5181455e50e8c2fc5c1 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Sun, 22 Sep 2024 02:17:43 +0100 Subject: feature(mobile): Allow users to login with API keys in the mobile app --- apps/mobile/app/dashboard/_layout.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/mobile/app/dashboard/_layout.tsx') diff --git a/apps/mobile/app/dashboard/_layout.tsx b/apps/mobile/app/dashboard/_layout.tsx index 22d1ed07..a1a25398 100644 --- a/apps/mobile/app/dashboard/_layout.tsx +++ b/apps/mobile/app/dashboard/_layout.tsx @@ -19,7 +19,7 @@ export default function Dashboard() { const isLoggedIn = useIsLoggedIn(); useEffect(() => { if (isLoggedIn !== undefined && !isLoggedIn) { - return router.replace("signin"); + return router.replace("server-address"); } }, [isLoggedIn]); -- cgit v1.2.3-70-g09d2