From 46b78eaac30be26fe40520e97786563344af8403 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Sat, 30 Mar 2024 16:26:16 +0000
Subject: format: Add missing lint and format, and format the entire repo

---
 apps/mobile/app/index.tsx | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

(limited to 'apps/mobile/app/index.tsx')

diff --git a/apps/mobile/app/index.tsx b/apps/mobile/app/index.tsx
index 235b19e4..dbbea97e 100644
--- a/apps/mobile/app/index.tsx
+++ b/apps/mobile/app/index.tsx
@@ -1,16 +1,16 @@
-import { useIsLoggedIn } from "@/lib/session";
 import { Redirect } from "expo-router";
 import FullPageSpinner from "@/components/ui/FullPageSpinner";
+import { useIsLoggedIn } from "@/lib/session";
 
 export default function App() {
   const isLoggedIn = useIsLoggedIn();
 
-    if (isLoggedIn === undefined) {
-      // Wait until it's loaded
-      return <FullPageSpinner />;
-    } else if (isLoggedIn) {
-      return <Redirect href="dashboard" />
-    } else {
-      return <Redirect href="signin" />
-    }
+  if (isLoggedIn === undefined) {
+    // Wait until it's loaded
+    return <FullPageSpinner />;
+  } else if (isLoggedIn) {
+    return <Redirect href="dashboard" />;
+  } else {
+    return <Redirect href="signin" />;
+  }
 }
-- 
cgit v1.2.3-70-g09d2

