introducing test route

This commit is contained in:
Antoine M 2024-02-13 19:29:32 +01:00
parent ebb588c737
commit db64325831

View File

@ -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() {