Add Login Route path
This commit is contained in:
@@ -4,14 +4,13 @@ import NotFound from "./NotFound";
|
|||||||
import List from "./Lists";
|
import List from "./Lists";
|
||||||
import View from './View';
|
import View from './View';
|
||||||
import Edit from "./Edit";
|
import Edit from "./Edit";
|
||||||
|
import Login from "./Login";
|
||||||
// import Login from "./Login";
|
|
||||||
|
|
||||||
|
|
||||||
const RouterSwitcher = () => {
|
const RouterSwitcher = () => {
|
||||||
return(
|
return(
|
||||||
<Routes>
|
<Routes>
|
||||||
{/* <Route path="/*" element={<Login />} /> */}
|
<Route path="/*" element={<Login />} />
|
||||||
<Route path="/home" element={<Home />} />
|
<Route path="/home" element={<Home />} />
|
||||||
<Route path="/lists" element={<List />} />
|
<Route path="/lists" element={<List />} />
|
||||||
<Route path="/view/:id" element={<View />} />
|
<Route path="/view/:id" element={<View />} />
|
||||||
|
|||||||
Reference in New Issue
Block a user