about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-06 20:56:56 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-06 20:56:56 +0200
commit3737e551c080362cb99cf2f37be4b39d296cbf26 (patch)
tree6e54febe00ec7ca5969d776fd9fb2b8c910c6922
parentMisc: Fix tsc errors (diff)
downloadfs-tracer-frontend-3737e551c080362cb99cf2f37be4b39d296cbf26.tar.gz
fs-tracer-frontend-3737e551c080362cb99cf2f37be4b39d296cbf26.tar.bz2
fs-tracer-frontend-3737e551c080362cb99cf2f37be4b39d296cbf26.zip
fmt
-rw-r--r--src/App.tsx16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/App.tsx b/src/App.tsx
index ec5fc98..ab749ab 100644
--- a/src/App.tsx
+++ b/src/App.tsx
@@ -15,15 +15,13 @@ function App() {
     <>
       <BrowserRouter>
         <Routes>
-          <Route path="/">
-            <Route index element={
-              <Home supabase={supabase} session={session} />
-            } />
-            <Route path="login" element={
-              <Login supabase={supabase} session={session} setSession={setSession} />
-            } />
-            <Route path="*" element={<p>notfound</p>} />
-          </Route>
+          <Route index element={
+            <Home supabase={supabase} session={session} />
+          } />
+          <Route path="/login" element={
+            <Login supabase={supabase} session={session} setSession={setSession} />
+          } />
+          <Route path="*" element={<p>notfound</p>} />
         </Routes>
       </BrowserRouter>
     </>