diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/App.tsx | 16 |
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> </> |