about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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>
     </>