Add Login Route path

This commit is contained in:
2024-05-24 10:33:24 +08:00
parent ac22af3062
commit 9e0e35d71f

View File

@@ -4,14 +4,13 @@ import NotFound from "./NotFound";
import List from "./Lists";
import View from './View';
import Edit from "./Edit";
// import Login from "./Login";
import Login from "./Login";
const RouterSwitcher = () => {
return(
<Routes>
{/* <Route path="/*" element={<Login />} /> */}
<Route path="/*" element={<Login />} />
<Route path="/home" element={<Home />} />
<Route path="/lists" element={<List />} />
<Route path="/view/:id" element={<View />} />