Add Login Route path
This commit is contained in:
@@ -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 />} />
|
||||
|
||||
Reference in New Issue
Block a user