From b643c59ef7f9c380bceca6e6bf69846143b22ccb Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 1 Feb 2025 23:45:40 +0000
Subject: fix(mobile): Fix flicker on sign in page. Fixes #911

---
 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 e9c28c90..c7f3dc19 100644
--- a/apps/mobile/app/dashboard/_layout.tsx
+++ b/apps/mobile/app/dashboard/_layout.tsx
@@ -27,7 +27,7 @@ export default function Dashboard() {
   const isLoggedIn = useIsLoggedIn();
   useEffect(() => {
     if (isLoggedIn !== undefined && !isLoggedIn) {
-      return router.replace("server-address");
+      return router.replace("signin");
     }
   }, [isLoggedIn]);
 
-- 
cgit v1.2.3-70-g09d2

