introducing test route
This commit is contained in:
parent
ebb588c737
commit
db64325831
|
|
@ -3,6 +3,7 @@ import Home from "./pages/Home.jsx";
|
||||||
import Single from "./pages/Single.jsx";
|
import Single from "./pages/Single.jsx";
|
||||||
import Profile from "./pages/Profile.jsx";
|
import Profile from "./pages/Profile.jsx";
|
||||||
import Results from "./pages/Results.jsx";
|
import Results from "./pages/Results.jsx";
|
||||||
|
import Test from "./pages/Test.jsx";
|
||||||
|
|
||||||
import Game from "./pages/Game.jsx";
|
import Game from "./pages/Game.jsx";
|
||||||
|
|
||||||
|
|
@ -29,6 +30,10 @@ const router = createBrowserRouter([
|
||||||
path: "/article/:id",
|
path: "/article/:id",
|
||||||
element: <Single />,
|
element: <Single />,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: "/test",
|
||||||
|
element: <Test />,
|
||||||
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user